Chartreuse (CSS) to Green Gradient
CSS
background: linear-gradient(90deg, #7fff00 0%, #00ff00 100%);
From Chartreuse (CSS) (#7FFF00) to Green (#00FF00). The two hues are 30° 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 | OKLCH | |
|---|---|---|---|---|---|---|
| Chartreuse (CSS) | #7FFF00 | 127, 255, 0 | 90°, 100%, 50% | 50, 0, 100, 0 | 89.0% 0.265 136 | |
| 25% (near Fertility Green) | #5FFF00 | 95, 255, 0 | 98°, 100%, 50% | 63, 0, 100, 0 | 87.9% 0.278 139 | |
| 50% (near Plutonium) | #40FF00 | 64, 255, 0 | 105°, 100%, 50% | 75, 0, 100, 0 | 87.2% 0.287 141 | |
| 75% (near Green Screen) | #20FF00 | 32, 255, 0 | 112°, 100%, 50% | 87, 0, 100, 0 | 86.8% 0.293 142 | |
| Green | #00FF00 | 0, 255, 0 | 120°, 100%, 50% | 100, 0, 100, 0 | 86.6% 0.295 142 |
Halfway along, the gradient is #40FF00, closest to the named color Plutonium. 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, #7fff00, #00ff00) - Diagonal:
linear-gradient(135deg, #7fff00, #00ff00) - Radial, from the center out:
radial-gradient(circle, #7fff00, #00ff00) - Tailwind CSS:
bg-gradient-to-r from-[#7fff00] to-[#00ff00]
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 Chartreuse (CSS) to Green gradient?
It starts at #7FFF00 (Chartreuse (CSS)) and ends at #00FF00 (Green), with #40FF00 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #7fff00, #00ff00) runs from Green on the left to Chartreuse (CSS) on the right.