A vivid dark green, white text passes AA

Tailwind green-800

In Tailwind CSS 4.3.3, green-800 is defined as oklch(44.8% 0.119 151.328); in hex that is #016630, or rgb(1 102 48). White text on it reaches 7.13:1, passing WCAG AAA, and Recolor (recolor.page) can show it on a real page.

Last updated

#016630green-800
From the theme file of Tailwind CSS 4.3.3 (--color-green-800), converted with Recolor's color code, October 9, 2026
FormatValue
OKLCH, as Tailwind writes itoklch(44.8% 0.119 151.328)
Hex#016630
RGBrgb(1 102 48)
HSLhsl(148 98% 20%)
CSS variablevar(--color-green-800)
Nearest CSS namedarkgreen #006400, 0.038 away in OKLab
White text7.13:1: AA passes, AAA passes, large text passes
Black text2.94:1: AA fails, AAA fails, large text fails

About green-800

In OKLCH, green-800 has a lightness of 44.8%, a chroma of 0.119 and a hue of 151.3 degrees, which makes it a vivid dark green. The step up to green-700 is 7.9 points of lightness, and the step down to green-900 5.5 points.

Its HSL lightness, 20%, says little about how light green-800 looks; OKLCH, made to match the eye, measures 44.8%, 25 points away. The value lies inside sRGB, the gamut of a hex code, so green-800 converts to #016630 without losing chroma.

For text, green-800 wants white: 7.13:1 clears even AAA's 7:1, and black at 2.94:1 fails AA. On the green scale white text works from green-700 to green-950; green-800 has 1 shade of margin.

Among the CSS keywords, darkgreen (#006400) comes closest at 0.038 in OKLab, close enough to stand in for it in a sketch.

Tints and shades

  1. #d8e5da
  2. #b1cab6
  3. #8bb193
  4. #659771
  5. #3d7f50
  6. #016630
  7. #014e23
  8. #003817
  9. #00230c
  10. #000f04
  11. #000200

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. #016630
  2. #95be9a
  3. #162b1d
  4. #649167
  5. #bffdc5

Locked as the first of five swatches, green-800 gets #95be9a, #162b1d, #649167, #bffdc5 from Recolor's generator, a monochromatic palette, one hue in five lightnesses. The seed is its hex, so the palette stays the same. Open it in Recolor.

Using green-800

Pair it with text-white, 7.13:1; green-800 as text on a white page measures the same ratio. In CSS it is var(--color-green-800).

HTML
<a class="bg-green-800 text-white" href="/start">Get started</a>
<p class="text-green-800">Text in green-800</p>

Common questions

Does white text pass WCAG AA on Tailwind green-800?

Yes. White text measures 7.13:1 on green-800, above the 4.5:1 that WCAG AA asks of body text, and above AAA's 7:1 too.

Is Tailwind green-800 defined in OKLCH?

Yes. Tailwind CSS 4.3.3 defines it as --color-green-800: oklch(44.8% 0.119 151.328); #016630 is its conversion to sRGB.

Is there a CSS named color for Tailwind green-800?

No. The nearest CSS named color is darkgreen (#006400), 0.038 away in OKLab.

Sources