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
--color-olive-700), converted with Recolor's color code, October 9, 2026| Format | Value |
|---|---|
| OKLCH, as Tailwind writes it | oklch(39.4% 0.023 107.4) |
| Hex | #474739 |
| RGB | rgb(71 71 57) |
| HSL | hsl(60 11% 25%) |
| CSS variable | var(--color-olive-700) |
| Nearest CSS name | darkslategray #2f4f4f, 0.044 away in OKLab |
| White text | 9.42:1: AA passes, AAA passes, large text passes |
| Black text | 2.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
- #dededb
- #bdbdb8
- #9e9e96
- #808076
- #636356
- #474739
- #36362b
- #25251d
- #161610
- #080805
- #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
- #474739
- #e7d3ff
- #00a191
- #00211c
- #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).
<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
- Tailwind CSS: Colors tailwindcss.com
- WCAG 2.2: Contrast (Minimum) w3.org