A dark yellowish gray, white text passes AA

Tailwind olive-700

Tailwind olive-700 is oklch(39.4% 0.023 107.4) in Tailwind CSS 4.3.3, which is #474739 in hex and rgb(71 71 57). White text on it reaches 9.42:1, passing WCAG AAA. Recolor (recolor.page) shows it on a real page below.

Last updated

#474739olive-700
From the theme file of Tailwind CSS 4.3.3 (--color-olive-700), converted with Recolor's color code, October 9, 2026
FormatValue
OKLCH, as Tailwind writes itoklch(39.4% 0.023 107.4)
Hex#474739
RGBrgb(71 71 57)
HSLhsl(60 11% 25%)
CSS variablevar(--color-olive-700)
Nearest CSS namedarkslategray #2f4f4f, 0.044 away in OKLab
White text9.42:1: AA passes, AAA passes, large text passes
Black text2.23:1: AA fails, AAA fails, large text fails

About olive-700

Tailwind olive-700 is a dark yellowish gray: OKLCH lightness 39.4%, chroma 0.023, hue 107.4 degrees. On Tailwind's olive scale it sits between olive-600 at 46.6% and olive-800 at 28.6%.

HSL calls its lightness 25%, OKLCH 39.4%: 14 points between a formula and a measure of what the eye sees. Its value fits inside sRGB, so #474739 is the same color, not an approximation.

White text on olive-700 measures 9.42:1, past the 7:1 of WCAG AAA, while black text manages only 2.23:1. White text passes on every olive shade from olive-600 down, so olive-700 is 1 shade past the line.

The closest CSS named color is darkslategray (#2f4f4f), 0.044 away in OKLab: near, and still a visible step from it side by side.

Tints and shades

  1. #dededb
  2. #bdbdb8
  3. #9e9e96
  4. #808076
  5. #636356
  6. #474739
  7. #36362b
  8. #25251d
  9. #161610
  10. #080805
  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. #474739
  2. #e7d3ff
  3. #00a191
  4. #00211c
  5. #e5a55e

Recolor's generator, with olive-700 locked as swatch 1 and the seed taken from its hex, drew a triadic palette, three hues a third of the wheel apart: #e7d3ff, #00a191, #00211c, #e5a55e. Open it in Recolor.

Using olive-700

Pair it with text-white, 9.42:1; olive-700 as text on a white page measures the same ratio. In CSS it is var(--color-olive-700).

HTML
<a class="bg-olive-700 text-white" href="/start">Get started</a>
<p class="text-olive-700">Text in olive-700</p>

Common questions

Does white text pass WCAG AA on Tailwind olive-700?

Yes. White text measures 9.42:1 on olive-700, above the 4.5:1 that WCAG AA asks of body text, and above AAA's 7:1 too.

Is Tailwind olive-700 defined in OKLCH?

Yes. Tailwind CSS 4.3.3 defines it as --color-olive-700: oklch(39.4% 0.023 107.4); #474739 is its conversion to sRGB.

Is there a CSS named color for Tailwind olive-700?

No. The nearest CSS named color is darkslategray (#2f4f4f), 0.044 away in OKLab.

Sources