A vivid very dark green, white text passes AA
Tailwind green-950
Tailwind green-950 is oklch(26.6% 0.065 152.934) in Tailwind CSS 4.3.3, which is #032e15 in hex and rgb(3 46 21). White text on it reaches 14.94:1, passing WCAG AAA. Recolor (recolor.page) shows it on a real page below.
Last updated
--color-green-950), converted with Recolor's color code, October 9, 2026| Format | Value |
|---|---|
| OKLCH, as Tailwind writes it | oklch(26.6% 0.065 152.934) |
| Hex | #032e15 |
| RGB | rgb(3 46 21) |
| HSL | hsl(145 88% 10%) |
| CSS variable | var(--color-green-950) |
| Nearest CSS name | darkslategray #2f4f4f, 0.145 away in OKLab |
| White text | 14.94:1: AA passes, AAA passes, large text passes |
| Black text | 1.41:1: AA fails, AAA fails, large text fails |
About green-950
Tailwind green-950 is a vivid very dark green: OKLCH lightness 26.6%, chroma 0.065, hue 152.9 degrees. Green-950 is the last and darkest of the eleven green shades, 12.7 points under green-900.
Its HSL lightness, 10%, says little about how light green-950 looks; OKLCH, made to match the eye, measures 26.6%, 17 points away. Its value fits inside sRGB, so #032e15 is the same color, not an approximation.
White text on green-950 measures 14.94:1, past the 7:1 of WCAG AAA, while black text manages only 1.41:1. On the green scale white text works from green-700 to green-950; green-950 has 3 shades of margin.
CSS has no keyword in its neighborhood; darkslategray (#2f4f4f) is the nearest, a long 0.145 away in OKLab.
Tints and shades
- #d2d9d3
- #a6b4a9
- #7c9081
- #536e5a
- #2d4d36
- #032e15
- #02220e
- #011607
- #000b03
- #000301
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
- #032e15
- #68976d
- #fedbfa
- #3c6147
- #9cbc9f
Recolor's generator, with green-950 locked as swatch 1 and the seed taken from its hex, drew a complementary palette, built on the hue opposite: #68976d, #fedbfa, #3c6147, #9cbc9f. Open it in Recolor.
Using green-950
Pair it with text-white, 14.94:1; green-950 as text on a white page measures the same ratio. In CSS it is var(--color-green-950).
<a class="bg-green-950 text-white" href="/start">Get started</a>
<p class="text-green-950">Text in green-950</p>Common questions
Does white text pass WCAG AA on Tailwind green-950?
Yes. White text measures 14.94:1 on green-950, above the 4.5:1 that WCAG AA asks of body text, and above AAA's 7:1 too.
Is Tailwind green-950 defined in OKLCH?
Yes. Tailwind CSS 4.3.3 defines it as --color-green-950: oklch(26.6% 0.065 152.934); #032e15 is its conversion to sRGB.
Is there a CSS named color for Tailwind green-950?
No. The nearest CSS named color is darkslategray (#2f4f4f), 0.145 away in OKLab.
Sources
- Tailwind CSS: Colors tailwindcss.com
- WCAG 2.2: Contrast (Minimum) w3.org