Hippie Trail to Yellow Green Gradient
CSS
background: linear-gradient(90deg, #c6aa2b 0%, #9acd32 100%);
From Hippie Trail (#C6AA2B) to Yellow Green (#9ACD32). The two hues are 31° 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 | |
|---|---|---|---|---|---|---|
| Hippie Trail | #C6AA2B | 198, 170, 43 | 49°, 64%, 47% | 0, 14, 78, 22 | 74.2% 0.140 96 | |
| 25% (near Greenfinch) | #BBB32D | 187, 179, 45 | 57°, 61%, 45% | 0, 4, 76, 27 | 75.1% 0.147 106 | |
| 50% (near Lush Bamboo) | #B0BC2F | 176, 188, 47 | 65°, 60%, 46% | 6, 0, 75, 26 | 76.1% 0.157 114 | |
| 75% (near Pesto di Pistacchio) | #A5C430 | 165, 196, 48 | 73°, 61%, 48% | 16, 0, 76, 23 | 77.1% 0.169 121 | |
| Yellow Green | #9ACD32 | 154, 205, 50 | 80°, 61%, 50% | 25, 0, 76, 20 | 78.5% 0.184 127 |
Halfway along, the gradient is #B0BC2F, 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.21:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #c6aa2b, #9acd32) - Diagonal:
linear-gradient(135deg, #c6aa2b, #9acd32) - Radial, from the center out:
radial-gradient(circle, #c6aa2b, #9acd32) - Tailwind CSS:
bg-gradient-to-r from-[#c6aa2b] 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 Hippie Trail to Yellow Green gradient?
It starts at #C6AA2B (Hippie Trail) and ends at #9ACD32 (Yellow Green), with #B0BC2F in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #c6aa2b, #9acd32) runs from Yellow Green on the left to Hippie Trail on the right.