A pale yellowish gray, black text passes AA
Tailwind olive-200
In Tailwind CSS 4.3.3, olive-200 is defined as oklch(93% 0.007 106.5); in hex that is #e8e8e3, or rgb(232 232 227). Black text on it reaches 17.08:1, passing WCAG AAA, and Recolor (recolor.page) can show it on a real page.
Last updated
--color-olive-200), converted with Recolor's color code, October 9, 2026| Format | Value |
|---|---|
| OKLCH, as Tailwind writes it | oklch(93% 0.007 106.5) |
| Hex | #e8e8e3 |
| RGB | rgb(232 232 227) |
| HSL | hsl(60 10% 90%) |
| CSS variable | var(--color-olive-200) |
| Nearest CSS name | antiquewhite #faebd7, 0.031 away in OKLab |
| White text | 1.23:1: AA fails, AAA fails, large text fails |
| Black text | 17.08:1: AA passes, AAA passes, large text passes |
About olive-200
In OKLCH, olive-200 has a lightness of 93.0%, a chroma of 0.007 and a hue of 106.5 degrees, which makes it a pale yellowish gray. The step up to olive-100 is 3.6 points of lightness, and the step down to olive-300 5.0 points.
Here HSL's lightness, 90%, lands near OKLCH's 93.0%, which is not true of every color. The value lies inside sRGB, the gamut of a hex code, so olive-200 converts to #e8e8e3 without losing chroma.
For text, olive-200 wants black: 17.08:1 clears even AAA's 7:1, and white at 1.23:1 fails AA. On the olive scale black text works down to olive-500, which leaves olive-200 3 shades of margin.
Among the CSS keywords, antiquewhite (#faebd7) comes closest at 0.031 in OKLab, close enough to stand in for it in a sketch.
Tints and shades
- #fcfbfb
- #f9f7f7
- #f5f2f3
- #f2eeef
- #efeaeb
- #e8e8e3
- #b9b4b5
- #888586
- #5b5959
- #313030
- #0d0c0c
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
- #e8e8e3
- #2f6465
- #95c4cd
- #002635
- #5795c4
Locked as the first of five swatches, olive-200 gets #2f6465, #95c4cd, #002635, #5795c4 from Recolor's generator, an analogous palette, hues next to each other on the wheel. The seed is its hex, so the palette stays the same. Open it in Recolor.
Using olive-200
Pair it with text-black, 17.08:1; olive-200 as text on a black page measures the same ratio. In CSS it is var(--color-olive-200).
<a class="bg-olive-200 text-black" href="/start">Get started</a>
<p class="text-olive-200">Text in olive-200</p>Common questions
Does white text pass WCAG AA on Tailwind olive-200?
No. White text measures 1.23:1 on olive-200, under AA's 4.5:1; black text measures 17.08:1 and passes. The lightest olive shade for white text is olive-600.
Is Tailwind olive-200 defined in OKLCH?
Yes. Tailwind CSS 4.3.3 defines it as --color-olive-200: oklch(93% 0.007 106.5); #e8e8e3 is its conversion to sRGB.
Is there a CSS named color for Tailwind olive-200?
No. The nearest CSS named color is antiquewhite (#faebd7), 0.031 away in OKLab.
Sources
- Tailwind CSS: Colors tailwindcss.com
- WCAG 2.2: Contrast (Minimum) w3.org