A dark brown, white text passes AA
Tailwind amber-800
In Tailwind CSS 4.3.3, amber-800 is defined as oklch(47.3% 0.137 46.201); as the nearest sRGB hex that is #973c00, or rgb(151 60 0). White text on it reaches 7.09:1, passing WCAG AAA, and Recolor (recolor.page) can show it on a real page.
Last updated
--color-amber-800), converted with Recolor's color code, October 9, 2026| Format | Value |
|---|---|
| OKLCH, as Tailwind writes it | oklch(47.3% 0.137 46.201) |
| Hex | #973c00, the nearest color in sRGB |
| RGB | rgb(151 60 0) |
| HSL | hsl(24 100% 30%) |
| OKLCH of the hex | oklch(47.5% 0.136 45.0) |
| CSS variable | var(--color-amber-800) |
| Nearest CSS name | saddlebrown #8b4513, 0.027 away in OKLab |
| White text | 7.09:1: AA passes, AAA passes, large text passes |
| Black text | 2.96:1: AA fails, AAA fails, large text fails |
About amber-800
In OKLCH, amber-800 has a lightness of 47.3%, a chroma of 0.137 and a hue of 46.2 degrees, which makes it a dark brown. The step up to amber-700 is 8.2 points of lightness, and the step down to amber-900 5.9 points.
HSL puts its lightness at 30% and OKLCH at 47.3%, 18 points apart: HSL's lightness does not follow what the eye sees, OKLCH's is built to. Amber-800 is one of the 95 colors in Tailwind CSS 4.3.3 that sRGB cannot hold. Its hex, #973c00, gives up 0.001 of chroma and moves 0.2 points of lightness and 1.2 degrees of hue; a Display P3 screen shows the full value.
For text, amber-800 wants white: 7.09:1 clears even AAA's 7:1, and black at 2.96:1 fails AA. White text passes on every amber shade from amber-700 down, so amber-800 is 1 shade past the line.
Among the CSS keywords, saddlebrown (#8b4513) comes closest at 0.027 in OKLab, close enough to stand in for it in a sketch.
Tints and shades
- #f0ded6
- #e0bdae
- #cf9d87
- #bd7d60
- #ab5d39
- #973c00
- #752d00
- #551f00
- #371100
- #1c0600
- #050100
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
- #973c00
- #71dbb5
- #1c1928
- #ae8470
- #c7f2da
Locked as the first of five swatches, amber-800 gets #71dbb5, #1c1928, #ae8470, #c7f2da 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 amber-800
Pair it with text-white, 7.09:1; amber-800 as text on a white page measures the same ratio. In CSS it is var(--color-amber-800).
<a class="bg-amber-800 text-white" href="/start">Get started</a>
<p class="text-amber-800">Text in amber-800</p>Common questions
Does white text pass WCAG AA on Tailwind amber-800?
Yes. White text measures 7.09:1 on amber-800, above the 4.5:1 that WCAG AA asks of body text, and above AAA's 7:1 too.
Is Tailwind amber-800 defined in OKLCH?
Yes. Tailwind CSS 4.3.3 defines it as --color-amber-800: oklch(47.3% 0.137 46.201); #973c00 is its nearest sRGB color, since the value lies outside sRGB.
Is there a CSS named color for Tailwind amber-800?
No. The nearest CSS named color is saddlebrown (#8b4513), 0.027 away in OKLab.
Sources
- Tailwind CSS: Colors tailwindcss.com
- WCAG 2.2: Contrast (Minimum) w3.org
- CSS Color Module Level 4: gamut mapping w3.org