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

#525252neutral-600
From the theme file of Tailwind CSS 4.3.3 (--color-neutral-600), converted with Recolor's color code, October 9, 2026
FormatValue
OKLCH, as Tailwind writes itoklch(43.9% 0 none)
Hex#525252
RGBrgb(82 82 82)
HSLhsl(0 0% 32%)
CSS variablevar(--color-neutral-600)
Nearest CSS namedarkslategray #2f4f4f, 0.052 away in OKLab
White text7.81:1: AA passes, AAA passes, large text passes
Black text2.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

  1. #e0e0e0
  2. #c2c2c2
  3. #a4a4a4
  4. #888888
  5. #6c6c6c
  6. #525252
  7. #3e3e3e
  8. #2c2c2c
  9. #1a1a1a
  10. #0a0a0a
  11. #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

  1. #525252
  2. #44caf3
  3. #28160e
  4. #4a8598
  5. #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).

HTML
<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