A dark gray, white text passes AA
Tailwind neutral-600
The hex code of Tailwind neutral-600 is #525252 (rgb(82 82 82)), from its Tailwind CSS 4.3.3 value oklch(43.9% 0 none). White text on it reaches 7.81:1, passing WCAG AAA; below, Recolor (recolor.page) puts it on a page.
Last updated
--color-neutral-600), converted with Recolor's color code, October 9, 2026| Format | Value |
|---|---|
| OKLCH, as Tailwind writes it | oklch(43.9% 0 none) |
| Hex | #525252 |
| RGB | rgb(82 82 82) |
| HSL | hsl(0 0% 32%) |
| CSS variable | var(--color-neutral-600) |
| Nearest CSS name | darkslategray #2f4f4f, 0.052 away in OKLab |
| White text | 7.81:1: AA passes, AAA passes, large text passes |
| Black text | 2.69:1: AA fails, AAA fails, large text fails |
About neutral-600
Read as numbers, neutral-600 is lightness 43.9%, chroma 0.000 and no hue; read by eye, it is a dark gray. Its neighbors on the neutral scale are neutral-500, 11.7 points lighter, and neutral-700, 6.8 points darker.
HSL calls its lightness 32%, OKLCH 43.9%: 12 points between a formula and a measure of what the eye sees. No gamut mapping is needed here: oklch(43.9% 0 none) sits inside sRGB and #525252 matches it.
White on neutral-600 reads at 7.81:1, enough for AAA body text; black reaches 2.69:1 and should stay off it. White text passes on every neutral shade from neutral-500 down, so neutral-600 is 1 shade past the line.
The nearest CSS named color, darkslategray (#2f4f4f), is 0.052 away in OKLab: related, but plainly a different color.
Tints and shades
- #e0e0e0
- #c2c2c2
- #a4a4a4
- #888888
- #6c6c6c
- #525252
- #3e3e3e
- #2c2c2c
- #1a1a1a
- #0a0a0a
- #010101
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
- #525252
- #44caf3
- #28160e
- #4a8598
- #ffe1d3
Around neutral-600 as swatch 1, Recolor's generator made a complementary palette, built on the hue opposite: #44caf3, #28160e, #4a8598, #ffe1d3, drawn from a seed fixed by its hex. Open it in Recolor.
Using neutral-600
Pair it with text-white, 7.81:1; neutral-600 as text on a white page measures the same ratio. In CSS it is var(--color-neutral-600).
<a class="bg-neutral-600 text-white" href="/start">Get started</a>
<p class="text-neutral-600">Text in neutral-600</p>Common questions
Does white text pass WCAG AA on Tailwind neutral-600?
Yes. White text measures 7.81:1 on neutral-600, above the 4.5:1 that WCAG AA asks of body text, and above AAA's 7:1 too.
Is Tailwind neutral-600 defined in OKLCH?
Yes. Tailwind CSS 4.3.3 defines it as --color-neutral-600: oklch(43.9% 0 none); #525252 is its conversion to sRGB.
Is there a CSS named color for Tailwind neutral-600?
No. The nearest CSS named color is darkslategray (#2f4f4f), 0.052 away in OKLab.
Sources
- Tailwind CSS: Colors tailwindcss.com
- WCAG 2.2: Contrast (Minimum) w3.org