Skip to content

Lawn Green

Hex #7CFC00, rgb(124 252 0). A green CSS named color.

Open in palette generator

Lawn Green color codes

Click any value to copy it.

HEX
RGB
HSL
HSV
HWB
CMYK
OKLCH
OKLab
Lab
LCH
CSS keyword

About Lawn Green

Lawn Green is a very light vivid green with the hex code #7CFC00. In RGB it is made of 124 red, 252 green and 0 blue; in HSL its hue is 90°, with 100% saturation and 49% lightness. Its perceptual lightness (OKLCH L) is 88.2%.

It is a CSS named color, so you can write "lawngreen" anywhere CSS accepts a color. Against white it has a contrast ratio of 1.33:1 and against black 15.78:1, so black text reads better on it and passes WCAG AA for normal text.

Tints, shades and tones

Lawn Green mixed step by step with white, black and middle gray (#808080).

Tints (with white)

Shades (with black)

Tones (with gray)

Lawn Green 50-950 scale

A Tailwind-style scale built in OKLCH; the original color sits on the step with the closest lightness.

Colors that go with Lawn Green

Color harmonies rotate the hue in OKLCH and keep the lightness and chroma. Each color links to its closest named color.

Complementary

Analogous

Triadic

Split complementary

Tetradic

Square

Monochromatic

Contrast and readability

WCAG 2 contrast of Lawn Green with white and black. The readable text color on Lawn Green is black.

Lawn Green textSmall text on white

On white1.33:1

  • AA fail
  • AA Large fail
  • AAA fail
  • UI 3:1 fail

APCA Lc 16

Lawn Green textSmall text on black

On black15.78:1

  • AA pass
  • AA Large pass
  • AAA pass
  • UI 3:1 pass

APCA Lc -88

Black text on Lawn Green (#000000)

Test any pair in the contrast checker.

Color blindness preview

How Lawn Green appears with each type of color vision deficiency (simulated with the Machado model).

  • Protanopia#FFE600
  • Deuteranopia#F5DB38
  • Tritanopia#75F2D6
  • Protanomaly#EAEB00
  • Deuteranomaly#E2E42F
  • Tritanomaly#75F897
  • Achromatopsia#DFDFDF

Colors similar to Lawn Green

The closest named colors by perceptual difference (OKLab).

Use Lawn Green in CSS and Tailwind

CSS
.lawn-green {
  color: lawngreen; /* #7CFC00 */
  background-color: rgb(124 252 0);
  border-color: oklch(88.2% 0.263 136.2);
}
Tailwind CSS
/* Tailwind CSS v4: bg-lawn-green-500, text-lawn-green-700... */
@theme {
  --color-lawn-green-50: #F2FFEC;
  --color-lawn-green-100: #C8FFAF;
  --color-lawn-green-200: #7CFC00;
  --color-lawn-green-300: #6CDD00;
  --color-lawn-green-400: #57B400;
  --color-lawn-green-500: #499B00;
  --color-lawn-green-600: #3E8400;
  --color-lawn-green-700: #316B00;
  --color-lawn-green-800: #265600;
  --color-lawn-green-900: #1D4600;
  --color-lawn-green-950: #071C00;
}

<!-- or the exact color, no config -->
<div class="bg-[#7CFC00] text-[#000000]">…</div>