A very dark yellowish gray, white text passes AA
Tailwind olive-950
Tailwind olive-950 is oklch(15.3% 0.006 107.1) in Tailwind CSS 4.3.3, which is #0c0c09 in hex and rgb(12 12 9). White text on it reaches 19.59:1, passing WCAG AAA. Recolor (recolor.page) shows it on a real page below.
Last updated
--color-olive-950), converted with Recolor's color code, October 9, 2026| Format | Value |
|---|---|
| OKLCH, as Tailwind writes it | oklch(15.3% 0.006 107.1) |
| Hex | #0c0c09 |
| RGB | rgb(12 12 9) |
| HSL | hsl(60 14% 4%) |
| CSS variable | var(--color-olive-950) |
| Nearest CSS name | black #000000, 0.153 away in OKLab |
| White text | 19.59:1: AA passes, AAA passes, large text passes |
| Black text | 1.07:1: AA fails, AAA fails, large text fails |
About olive-950
Tailwind olive-950 is a very dark yellowish gray: OKLCH lightness 15.3%, chroma 0.006, hue 107.1 degrees. Olive-950 is the last and darkest of the eleven olive shades, 7.5 points under olive-900.
Its lightness is 4% in HSL and 15.3% in OKLCH, 11 points apart; only the second tracks how light it looks. Its value fits inside sRGB, so #0c0c09 is the same color, not an approximation.
White text on olive-950 measures 19.59:1, past the 7:1 of WCAG AAA, while black text manages only 1.07:1. On the olive scale white text works from olive-600 to olive-950; olive-950 has 4 shades of margin.
CSS has no keyword in its neighborhood; black (#000000) is the nearest, a long 0.153 away in OKLab.
Tints and shades
- #d1d0d0
- #a5a3a4
- #7b7879
- #535051
- #2f2b2c
- #0c0c09
- #080607
- #040303
- #020101
- #010000
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
- #0c0c09
- #7b854a
- #e3e9d7
- #4f5806
- #c9bcea
Recolor's generator, with olive-950 locked as swatch 1 and the seed taken from its hex, drew a complementary palette, built on the hue opposite: #7b854a, #e3e9d7, #4f5806, #c9bcea. Open it in Recolor.
Using olive-950
Pair it with text-white, 19.59:1; olive-950 as text on a white page measures the same ratio. In CSS it is var(--color-olive-950).
<a class="bg-olive-950 text-white" href="/start">Get started</a>
<p class="text-olive-950">Text in olive-950</p>Common questions
Does white text pass WCAG AA on Tailwind olive-950?
Yes. White text measures 19.59:1 on olive-950, above the 4.5:1 that WCAG AA asks of body text, and above AAA's 7:1 too.
Is Tailwind olive-950 defined in OKLCH?
Yes. Tailwind CSS 4.3.3 defines it as --color-olive-950: oklch(15.3% 0.006 107.1); #0c0c09 is its conversion to sRGB.
Is there a CSS named color for Tailwind olive-950?
No. The nearest CSS named color is black (#000000), 0.153 away in OKLab.
Sources
- Tailwind CSS: Colors tailwindcss.com
- WCAG 2.2: Contrast (Minimum) w3.org