lawngreen — #7CFC00
#7CFC00
rgb(124, 252, 0) · hsl(90, 100%, 49%) · CSS keyword lawngreen
Can you put text on it?
| Contrast | Body text | Large text | |
|---|---|---|---|
| lawngreen on white | 1.33:1 | — | — |
| lawngreen on black | 15.78:1 | AA | AA |
As a background, lawngreen takes black text: 15.78:1 against 1.33:1 the other way. A colour picker will give you the hex and stop there, which is why so many palettes look right and fail an accessibility audit.
Using it
color: lawngreen;
color: #7cfc00;
color: rgb(124 252 0);
All three are the same colour. The keyword is one of the 141 CSS named colours — a list settled in CSS 2.1 and added to exactly once since, when rebeccapurple was standardised in 2014.
Colours close to lawngreen
- chartreuse — #7FFF00
- greenyellow — #ADFF2F
- yellowgreen — #9ACD32
- lightgreen — #90EE90
- palegreen — #98FB98
- limegreen — #32CD32
Frequently asked questions
What is the hex code for lawngreen?
The hex code for lawngreen is #7CFC00 — RGB 124, 252, 0.
Can I use lawngreen for text?
Not on a white background. lawngreen reaches only 1.33:1, and WCAG AA asks for 4.5:1. It works as a background or a border, not as ink.
Should text on lawngreen be black or white?
Black — 15.78:1 against 1.33:1 the other way.
Other named colours
- lemonchiffon — #FFFACD
- lightblue — #ADD8E6
- lightcoral — #F08080
- lightcyan — #E0FFFF
- lightgoldenrodyellow — #FAFAD2
- lightgray — #D3D3D3
- lightgreen — #90EE90
- lightpink — #FFB6C1
- lightsalmon — #FFA07A
- lightseagreen — #20B2AA
- lightskyblue — #87CEFA
- lightslategray — #778899
#7CFC00 in full — tints, shades and harmonies · All named colours · Colour reference