Mustard Seed to Yellow Green Gradient
CSS
background: linear-gradient(90deg, #c69f26 0%, #9acd32 100%);
From Mustard Seed (#C69F26) to Yellow Green (#9ACD32). The two hues are 34° apart on the color wheel, close enough that the blend stays clean without a muddy middle.
Colors along the gradient
| Name | HEX | RGB | HSL | CMYK | OKLCH | |
|---|---|---|---|---|---|---|
| Mustard Seed | #C69F26 | 198, 159, 38 | 45°, 68%, 46% | 0, 20, 81, 22 | 71.9% 0.136 89 | |
| 25% (near Greenfinch) | #BBAB29 | 187, 171, 41 | 53°, 64%, 45% | 0, 9, 78, 27 | 73.3% 0.142 102 | |
| 50% (near Lush Bamboo) | #B0B62C | 176, 182, 44 | 63°, 61%, 44% | 3, 0, 76, 29 | 74.8% 0.152 112 | |
| 75% (near Pesto di Pistacchio) | #A5C22F | 165, 194, 47 | 72°, 61%, 47% | 15, 0, 76, 24 | 76.7% 0.167 121 | |
| Yellow Green | #9ACD32 | 154, 205, 50 | 80°, 61%, 50% | 25, 0, 76, 20 | 78.5% 0.184 127 |
Halfway along, the gradient is #B0B62C, closest to the named color Lush Bamboo. The stops are mixed in RGB, the way browsers draw a linear gradient by default.
Text on this gradient
Black text reads best on both ends, so one text color works across the whole gradient. The two end colors have a contrast ratio of 1.33:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #c69f26, #9acd32) - Diagonal:
linear-gradient(135deg, #c69f26, #9acd32) - Radial, from the center out:
radial-gradient(circle, #c69f26, #9acd32) - Tailwind CSS:
bg-gradient-to-r from-[#c69f26] to-[#9acd32]
Gradients like this work well for page headers, buttons, cards and slide backgrounds. Keep body text on a solid color for the best readability.
Related gradients
Questions
What are the HEX codes of the Mustard Seed to Yellow Green gradient?
It starts at #C69F26 (Mustard Seed) and ends at #9ACD32 (Yellow Green), with #B0B62C in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #c69f26, #9acd32) runs from Yellow Green on the left to Mustard Seed on the right.