A very dark brown, white text passes AA
Tailwind yellow-950
In Tailwind CSS 4.3.3, yellow-950 is defined as oklch(28.6% 0.066 53.813); in hex that is #432004, or rgb(67 32 4). White text on it reaches 14.51:1, passing WCAG AAA, and Recolor (recolor.page) can show it on a real page.
Last updated
--color-yellow-950), converted with Recolor's color code, October 9, 2026| Format | Value |
|---|---|
| OKLCH, as Tailwind writes it | oklch(28.6% 0.066 53.813) |
| Hex | #432004 |
| RGB | rgb(67 32 4) |
| HSL | hsl(27 89% 14%) |
| CSS variable | var(--color-yellow-950) |
| Nearest CSS name | maroon #800000, 0.133 away in OKLab |
| White text | 14.51:1: AA passes, AAA passes, large text passes |
| Black text | 1.45:1: AA fails, AAA fails, large text fails |
About yellow-950
In OKLCH, yellow-950 has a lightness of 28.6%, a chroma of 0.066 and a hue of 53.8 degrees, which makes it a very dark brown. Yellow-950 is the last and darkest of the eleven yellow shades, 13.5 points under yellow-900. The name says yellow, the eye says brown: at 53.8 degrees, dark oranges and yellows look brown.
Its lightness is 14% in HSL and 28.6% in OKLCH, 15 points apart; only the second tracks how light it looks. The value lies inside sRGB, the gamut of a hex code, so yellow-950 converts to #432004 without losing chroma.
For text, yellow-950 wants white: 14.51:1 clears even AAA's 7:1, and black at 1.45:1 fails AA. On the yellow scale white text works from yellow-700 to yellow-950; yellow-950 has 3 shades of margin.
CSS has no keyword in its neighborhood; maroon (#800000) is the nearest, a long 0.133 away in OKLab.
Tints and shades
- #ded6d1
- #beaea5
- #9e887b
- #7f6452
- #61412c
- #432004
- #321702
- #230e01
- #140600
- #070200
- #010000
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
- #432004
- #7bcbb5
- #1a6f5a
- #e1dcff
- #b28666
Locked as the first of five swatches, yellow-950 gets #7bcbb5, #1a6f5a, #e1dcff, #b28666 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 yellow-950
Pair it with text-white, 14.51:1; yellow-950 as text on a white page measures the same ratio. In CSS it is var(--color-yellow-950).
<a class="bg-yellow-950 text-white" href="/start">Get started</a>
<p class="text-yellow-950">Text in yellow-950</p>Common questions
Does white text pass WCAG AA on Tailwind yellow-950?
Yes. White text measures 14.51:1 on yellow-950, above the 4.5:1 that WCAG AA asks of body text, and above AAA's 7:1 too.
Is Tailwind yellow-950 defined in OKLCH?
Yes. Tailwind CSS 4.3.3 defines it as --color-yellow-950: oklch(28.6% 0.066 53.813); #432004 is its conversion to sRGB.
Is there a CSS named color for Tailwind yellow-950?
No. The nearest CSS named color is maroon (#800000), 0.133 away in OKLab.
Sources
- Tailwind CSS: Colors tailwindcss.com
- WCAG 2.2: Contrast (Minimum) w3.org