Olive to Kelp Forest Gradient
CSS
background: linear-gradient(90deg, #808010 0%, #448811 100%);
From Olive (#808010) to Kelp Forest (#448811). 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 | |
|---|---|---|---|---|---|
| Olive | #808010 | 128, 128, 16 | 60°, 78%, 28% | 0, 0, 88, 50 | |
| 25% (near Olive) | #718210 | 113, 130, 16 | 69°, 78%, 29% | 13, 0, 88, 49 | |
| 50% (near Enchanted Forest) | #628411 | 98, 132, 17 | 78°, 77%, 29% | 26, 0, 87, 48 | |
| 75% (near Enchanted Forest) | #538611 | 83, 134, 17 | 86°, 77%, 30% | 38, 0, 87, 47 | |
| Kelp Forest | #448811 | 68, 136, 17 | 94°, 78%, 30% | 50, 0, 88, 47 |
Halfway along, the gradient is #628411, closest to the named color Enchanted Forest. 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, #808010, #448811) - Diagonal:
linear-gradient(135deg, #808010, #448811) - Radial, from the center out:
radial-gradient(circle, #808010, #448811) - Tailwind CSS:
bg-gradient-to-r from-[#808010] to-[#448811]
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 Olive to Kelp Forest gradient?
It starts at #808010 (Olive) and ends at #448811 (Kelp Forest), with #628411 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #808010, #448811) runs from Kelp Forest on the left to Olive on the right.