Lawn Green color (#7CFC00)
Lawn Green is one of the 148 CSS named colors. Use the keyword lawngreen
anywhere CSS accepts a color, or its hex code #7CFC00, which is rgb(124, 252, 0) in RGB.
It is a light, vivid cool color with a hue angle of 91° on the HSL color wheel and a perceived lightness of 88% in OKLCH. On a lawn green background, black text gives the higher contrast at 15.78:1, which passes WCAG AA for normal text.
Lawn Green color codes
| CSS name | lawngreen |
|
|---|---|---|
| HEX | #7CFC00 |
|
| HEX (8-digit) | #7CFC00FF |
|
| RGB | rgb(124, 252, 0) |
|
| HSL | hsl(91, 100%, 49%) |
|
| HSV / HSB | hsv(91, 100%, 99%) |
|
| OKLCH | oklch(88.2% 0.2631 136.2) |
|
| CMYK | cmyk(50.8%, 0%, 100%, 1.2%) |
Contrast with white and black
WCAG 2 contrast ratios and APCA lightness contrast (Lc) for lawn green used as text and as a background.
Tints and shades of lawn green
Tints mix lawn green with white; shades mix it with black, in 10% steps. Click a swatch to copy it, or build custom scales in the tint & shade generator.
Tints
Shades
Colors that go with lawn green
Harmonies calculated on the HSL color wheel. Explore more in the color scheme generator.
Complementary
Analogous
Triadic
Split-Complementary
Lawn Green with color blindness
Approximately how lawn green appears with each type of color vision deficiency. Test full designs with the color blindness simulator.
Using lawn green in CSS
.element {
color: lawngreen;
background-color: #7cfc00;
border-color: rgb(124 252 0 / 50%);
outline-color: oklch(88.2% 0.2631 136.2);
}Similar named colors
See all shades of green or browse every CSS color name.