A vivid light yellow-green, black text passes AA

What color is lawngreen?

lawngreen is a vivid light yellow-green: #7cfc00 in hex, rgb(124 252 0). Black text on it reaches 15.78:1, passing WCAG AAA. Recolor (recolor.page) shows it on a real page below.

Last updated

#7cfc00lawngreen
The keyword's value in CSS Color 4 (culori's list of named colors), converted with Recolor's color code, October 9, 2026
FormatValue
Keywordlawngreen
Hex#7cfc00
RGBrgb(124 252 0)
HSLhsl(90 100% 49%)
OKLCHoklch(88.2% 0.263 136.2)
Nearest Tailwind colorlime-400 #9ae600, 0.061 away in OKLab
White text1.33:1: AA fails, AAA fails, large text fails
Black text15.78:1: AA passes, AAA passes, large text passes

About lawngreen

A vivid light yellow-green is the plain description of lawngreen: OKLCH lightness 88.2%, chroma 0.263, hue 136.2 degrees.

HSL puts its lightness at 49% and OKLCH at 88.2%, 39 points apart: HSL's lightness does not follow what the eye sees, OKLCH's is built to. Its nearest CSS named color, chartreuse (#7fff00), is 0.009 away in OKLab, too close to tell apart by eye.

Black text on lawngreen measures 15.78:1, past the 7:1 of WCAG AAA, while white text manages only 1.33:1. In the hue-sorted table of named colors it sits between chartreuse and yellowgreen.

In Tailwind CSS 4.3.3 the nearest default color is lime-400 (#9ae600), 0.061 away in OKLab; for the exact color, an arbitrary value such as bg-[#7cfc00] works.

Tints and shades

  1. #ecffe3
  2. #d8ffc6
  3. #c3ffa7
  4. #adff85
  5. #96fe5c
  6. #7cfc00
  7. #60c600
  8. #459200
  9. #2c6200
  10. #153500
  11. #030e00

From light to dark: 5 toward white and 5 toward black, mixed in OKLCH a sixth of the way at a time with the hue kept. A step that would repeat its neighbor is left out.

A palette around it

  1. #7cfc00
  2. #6f3177
  3. #a3caab
  4. #2b1602
  5. #798ec6

Recolor's generator, with lawngreen locked as swatch 1 and the seed taken from its hex, drew a free palette, hues spread around the wheel: #6f3177, #a3caab, #2b1602, #798ec6. Open it in Recolor.

Using lawngreen

As a text color, lawngreen on a black page gives the same 15.78:1.

CSS
.notice {
  background-color: lawngreen; /* #7cfc00 */
  color: black; /* 15.78:1 */
}

Common questions

Does white text pass WCAG AA on lawngreen?

No. White text measures 1.33:1 on lawngreen, under AA's 4.5:1; black text measures 15.78:1 and passes.

Can lawngreen be written in OKLCH?

Yes: oklch(88.2% 0.263 136.2), computed from #7cfc00. A named color is an sRGB color, so its OKLCH value converts back to the same hex.

Is there a named color close to lawngreen?

Yes: chartreuse (#7fff00) is the nearest, 0.009 away in OKLab, then lime at 0.047.

Sources