Toolman

lawngreen — #7CFC00

#7CFC00

rgb(124, 252, 0) · hsl(90, 100%, 49%) · CSS keyword lawngreen

Can you put text on it?

ContrastBody textLarge text
lawngreen on white1.33:1
lawngreen on black15.78:1AAAA

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

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

#7CFC00 in full — tints, shades and harmonies · All named colours · Colour reference