Retro Vibe to Leafy Canopy Gradient
CSS
background: linear-gradient(90deg, #cb9711 0%, #aacc11 100%);
From Retro Vibe (#CB9711) to Leafy Canopy (#AACC11). The two hues are 28° 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 | |
|---|---|---|---|---|---|
| Retro Vibe | #CB9711 | 203, 151, 17 | 43°, 85%, 43% | 0, 26, 92, 20 | |
| 25% (near Rapeseed) | #C3A411 | 195, 164, 17 | 50°, 84%, 42% | 0, 16, 91, 24 | |
| 50% (near Muddy Yellow) | #BBB211 | 187, 178, 17 | 57°, 83%, 40% | 0, 5, 91, 27 | |
| 75% (near Leafy Woodland) | #B2BF11 | 178, 191, 17 | 64°, 84%, 41% | 7, 0, 91, 25 | |
| Leafy Canopy | #AACC11 | 170, 204, 17 | 71°, 85%, 43% | 17, 0, 92, 20 |
Halfway along, the gradient is #BBB211, closest to the named color Muddy Yellow. 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.42:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #cb9711, #aacc11) - Diagonal:
linear-gradient(135deg, #cb9711, #aacc11) - Radial, from the center out:
radial-gradient(circle, #cb9711, #aacc11) - Tailwind CSS:
bg-gradient-to-r from-[#cb9711] to-[#aacc11]
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 Retro Vibe to Leafy Canopy gradient?
It starts at #CB9711 (Retro Vibe) and ends at #AACC11 (Leafy Canopy), with #BBB211 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #cb9711, #aacc11) runs from Leafy Canopy on the left to Retro Vibe on the right.