Rapeseed to Jewel Beetle Gradient
CSS
background: linear-gradient(90deg, #c19a13 0%, #8cc90b 100%);
From Rapeseed (#C19A13) to Jewel Beetle (#8CC90B). The two hues are 33° 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 | |
|---|---|---|---|---|---|
| Rapeseed | #C19A13 | 193, 154, 19 | 47°, 82%, 42% | 0, 20, 90, 24 | |
| 25% (near Muddy Yellow) | #B4A611 | 180, 166, 17 | 55°, 83%, 39% | 0, 8, 91, 29 | |
| 50% (near Leafy Woodland) | #A7B20F | 167, 178, 15 | 64°, 84%, 38% | 6, 0, 92, 30 | |
| 75% (near Citrus) | #99BD0D | 153, 189, 13 | 72°, 87%, 40% | 19, 0, 93, 26 | |
| Jewel Beetle | #8CC90B | 140, 201, 11 | 79°, 90%, 42% | 30, 0, 95, 21 |
Halfway along, the gradient is #A7B20F, closest to the named color Leafy Woodland. 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, #c19a13, #8cc90b) - Diagonal:
linear-gradient(135deg, #c19a13, #8cc90b) - Radial, from the center out:
radial-gradient(circle, #c19a13, #8cc90b) - Tailwind CSS:
bg-gradient-to-r from-[#c19a13] to-[#8cc90b]
Gradients like this work well for page headers, buttons, cards and slide backgrounds. Keep body text on a solid color for the best readability.
Questions
What are the HEX codes of the Rapeseed to Jewel Beetle gradient?
It starts at #C19A13 (Rapeseed) and ends at #8CC90B (Jewel Beetle), with #A7B20F in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #c19a13, #8cc90b) runs from Jewel Beetle on the left to Rapeseed on the right.