A vivid very dark green, white text passes AA

Tailwind emerald-950

In Tailwind CSS 4.3.3, emerald-950 is defined as oklch(26.2% 0.051 172.552); as the nearest sRGB hex that is #002c22, or rgb(0 44 34). White text on it reaches 15.18:1, passing WCAG AAA, and Recolor (recolor.page) can show it on a real page.

Last updated

#002c22emerald-950
From the theme file of Tailwind CSS 4.3.3 (--color-emerald-950), converted with Recolor's color code, October 9, 2026
FormatValue
OKLCH, as Tailwind writes itoklch(26.2% 0.051 172.552)
Hex#002c22, the nearest color in sRGB
RGBrgb(0 44 34)
HSLhsl(166 100% 9%)
OKLCH of the hexoklch(26.1% 0.050 173.1)
CSS variablevar(--color-emerald-950)
Nearest CSS namedarkslategray #2f4f4f, 0.143 away in OKLab
White text15.18:1: AA passes, AAA passes, large text passes
Black text1.38:1: AA fails, AAA fails, large text fails

About emerald-950

In OKLCH, emerald-950 has a lightness of 26.2%, a chroma of 0.051 and a hue of 172.6 degrees, which makes it a vivid very dark green. It closes the emerald scale as its darkest shade, 11.6 points of lightness below emerald-900.

HSL puts its lightness at 9% and OKLCH at 26.2%, 18 points apart: HSL's lightness does not follow what the eye sees, OKLCH's is built to. Emerald-950 is one of the 95 colors in Tailwind CSS 4.3.3 that sRGB cannot hold. Its hex, #002c22, gives up 0.001 of chroma and moves 0.1 points of lightness and 0.5 degrees of hue; a Display P3 screen shows the full value.

For text, emerald-950 wants white: 15.18:1 clears even AAA's 7:1, and black at 1.38:1 fails AA. White text passes on every emerald shade from emerald-700 down, so emerald-950 is 3 shades past the line.

No CSS named color comes near it: the closest, darkslategray (#2f4f4f), is 0.143 away in OKLab.

Tints and shades

  1. #d1d8d6
  2. #a5b3ae
  3. #7b8f88
  4. #526c63
  5. #2b4b41
  6. #002c22
  7. #002018
  8. #00150f
  9. #000a07
  10. #000302

From light to dark: 5 toward white and 4 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. #002c22
  2. #e3a87b
  3. #565065
  4. #c5f2e5
  5. #7c7694

Locked as the first of five swatches, emerald-950 gets #e3a87b, #565065, #c5f2e5, #7c7694 from Recolor's generator, a triadic palette, three hues a third of the wheel apart. The seed is its hex, so the palette stays the same. Open it in Recolor.

Using emerald-950

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

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

Common questions

Does white text pass WCAG AA on Tailwind emerald-950?

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

Is Tailwind emerald-950 defined in OKLCH?

Yes. Tailwind CSS 4.3.3 defines it as --color-emerald-950: oklch(26.2% 0.051 172.552); #002c22 is its nearest sRGB color, since the value lies outside sRGB.

Is there a CSS named color for Tailwind emerald-950?

No. The nearest CSS named color is darkslategray (#2f4f4f), 0.143 away in OKLab.

Sources