Green Olive to Moss Gardens Gradient
CSS
background: linear-gradient(90deg, #8d8b55 0%, #768b59 100%);
From Green Olive (#8D8B55) to Moss Gardens (#768B59). The two hues are 27° 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 | |
|---|---|---|---|---|---|
| Green Olive | #8D8B55 | 141, 139, 85 | 58°, 25%, 44% | 0, 1, 40, 45 | |
| 25% (near Iguana) | #878B56 | 135, 139, 86 | 65°, 24%, 44% | 3, 0, 38, 45 | |
| 50% (near Iguana) | #828B57 | 130, 139, 87 | 70°, 23%, 44% | 6, 0, 37, 45 | |
| 75% (near Moss Gardens) | #7C8B58 | 124, 139, 88 | 78°, 22%, 45% | 11, 0, 37, 45 | |
| Moss Gardens | #768B59 | 118, 139, 89 | 85°, 22%, 45% | 15, 0, 36, 45 |
Halfway along, the gradient is #828B57, closest to the named color Iguana. 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.06:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #8d8b55, #768b59) - Diagonal:
linear-gradient(135deg, #8d8b55, #768b59) - Radial, from the center out:
radial-gradient(circle, #8d8b55, #768b59) - Tailwind CSS:
bg-gradient-to-r from-[#8d8b55] to-[#768b59]
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 Green Olive to Moss Gardens gradient?
It starts at #8D8B55 (Green Olive) and ends at #768B59 (Moss Gardens), with #828B57 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #8d8b55, #768b59) runs from Moss Gardens on the left to Green Olive on the right.