A dark yellowish gray, white text passes AA
Tailwind olive-600
The hex code of Tailwind olive-600 is #5b5b4b (rgb(91 91 75)), from its Tailwind CSS 4.3.3 value oklch(46.6% 0.025 107.3). White text on it reaches 6.90:1, passing WCAG AA; below, Recolor (recolor.page) puts it on a page.
Last updated
--color-olive-600), converted with Recolor's color code, October 9, 2026| Format | Value |
|---|---|
| OKLCH, as Tailwind writes it | oklch(46.6% 0.025 107.3) |
| Hex | #5b5b4b |
| RGB | rgb(91 91 75) |
| HSL | hsl(60 10% 33%) |
| CSS variable | var(--color-olive-600) |
| Nearest CSS name | dimgray #696969, 0.060 away in OKLab |
| White text | 6.90:1: AA passes, AAA fails, large text passes |
| Black text | 3.04:1: AA fails, AAA fails, large text passes |
About olive-600
Read as numbers, olive-600 is lightness 46.6%, chroma 0.025 and hue 107.3 degrees; read by eye, it is a dark yellowish gray. Its neighbors on the olive scale are olive-500, 11.4 points lighter, and olive-700, 7.2 points darker.
Its lightness is 33% in HSL and 46.6% in OKLCH, 14 points apart; only the second tracks how light it looks. No gamut mapping is needed here: oklch(46.6% 0.025 107.3) sits inside sRGB and #5b5b4b matches it.
White is the ink for olive-600: 6.90:1 passes AA for body text, where black stops at 3.04:1. Going down the olive scale, white text first reaches AA here; one shade lighter, olive-500 gives it 4.25:1.
No CSS keyword matches it; dimgray (#696969) is the nearest, 0.060 away in OKLab, a clear step off.
Tints and shades
- #e2e2df
- #c5c5bf
- #a9a9a0
- #8e8e83
- #747466
- #5b5b4b
- #464639
- #313128
- #1e1e17
- #0d0d09
- #020201
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
- #5b5b4b
- #9fcdb2
- #00271b
- #009f97
- #88edff
Around olive-600 as swatch 1, Recolor's generator made an analogous palette, hues next to each other on the wheel: #9fcdb2, #00271b, #009f97, #88edff, drawn from a seed fixed by its hex. Open it in Recolor.
Using olive-600
Pair it with text-white, 6.90:1; olive-600 as text on a white page measures the same ratio. In CSS it is var(--color-olive-600).
<a class="bg-olive-600 text-white" href="/start">Get started</a>
<p class="text-olive-600">Text in olive-600</p>Common questions
Does white text pass WCAG AA on Tailwind olive-600?
Yes. White text measures 6.90:1 on olive-600, above the 4.5:1 that WCAG AA asks of body text.
Is Tailwind olive-600 defined in OKLCH?
Yes. Tailwind CSS 4.3.3 defines it as --color-olive-600: oklch(46.6% 0.025 107.3); #5b5b4b is its conversion to sRGB.
Is there a CSS named color for Tailwind olive-600?
No. The nearest CSS named color is dimgray (#696969), 0.060 away in OKLab.
Sources
- Tailwind CSS: Colors tailwindcss.com
- WCAG 2.2: Contrast (Minimum) w3.org