Court-Bouillon to Greenhorn Gradient
CSS
background: linear-gradient(90deg, #cecb97 0%, #b2cc9a 100%);
From Court-Bouillon (#CECB97) to Greenhorn (#B2CC9A). 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 | |
|---|---|---|---|---|---|
| Court-Bouillon | #CECB97 | 206, 203, 151 | 57°, 36%, 70% | 0, 1, 27, 19 | |
| 25% (near Court-Bouillon) | #C7CB98 | 199, 203, 152 | 65°, 33%, 70% | 2, 0, 25, 20 | |
| 50% (near Seedling) | #C0CC99 | 192, 204, 153 | 74°, 33%, 70% | 6, 0, 25, 20 | |
| 75% (near Greenhorn) | #B9CC99 | 185, 204, 153 | 82°, 33%, 70% | 9, 0, 25, 20 | |
| Greenhorn | #B2CC9A | 178, 204, 154 | 91°, 33%, 70% | 13, 0, 25, 20 |
Halfway along, the gradient is #C0CC99, closest to the named color Seedling. 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.05:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #cecb97, #b2cc9a) - Diagonal:
linear-gradient(135deg, #cecb97, #b2cc9a) - Radial, from the center out:
radial-gradient(circle, #cecb97, #b2cc9a) - Tailwind CSS:
bg-gradient-to-r from-[#cecb97] to-[#b2cc9a]
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 Court-Bouillon to Greenhorn gradient?
It starts at #CECB97 (Court-Bouillon) and ends at #B2CC9A (Greenhorn), with #C0CC99 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #cecb97, #b2cc9a) runs from Greenhorn on the left to Court-Bouillon on the right.