A vivid dark teal, white text passes AA
Tailwind teal-900
In Tailwind CSS 4.3.3, teal-900 is defined as oklch(38.6% 0.063 188.416); in hex that is #0b4f4a, or rgb(11 79 74). White text on it reaches 9.41:1, passing WCAG AAA, and Recolor (recolor.page) can show it on a real page.
Last updated
--color-teal-900), converted with Recolor's color code, October 9, 2026| Format | Value |
|---|---|
| OKLCH, as Tailwind writes it | oklch(38.6% 0.063 188.416) |
| Hex | #0b4f4a |
| RGB | rgb(11 79 74) |
| HSL | hsl(176 76% 18%) |
| CSS variable | var(--color-teal-900) |
| Nearest CSS name | darkslategray #2f4f4f, 0.031 away in OKLab |
| White text | 9.41:1: AA passes, AAA passes, large text passes |
| Black text | 2.23:1: AA fails, AAA fails, large text fails |
About teal-900
In OKLCH, teal-900 has a lightness of 38.6%, a chroma of 0.063 and a hue of 188.4 degrees, which makes it a vivid dark teal. The step up to teal-800 is 5.1 points of lightness, and the step down to teal-950 10.9 points.
HSL puts its lightness at 18% and OKLCH at 38.6%, 21 points apart: HSL's lightness does not follow what the eye sees, OKLCH's is built to. The value lies inside sRGB, the gamut of a hex code, so teal-900 converts to #0b4f4a without losing chroma.
For text, teal-900 wants white: 9.41:1 clears even AAA's 7:1, and black at 2.23:1 fails AA. White text passes on every teal shade from teal-700 down, so teal-900 is 2 shades past the line.
Among the CSS keywords, darkslategray (#2f4f4f) comes closest at 0.031 in OKLab, close enough to stand in for it in a sketch.
Tints and shades
- #d6e0de
- #aec1bf
- #87a3a0
- #618682
- #3a6a65
- #0b4f4a
- #063c38
- #032a27
- #011917
- #000a08
- #000101
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
- #0b4f4a
- #78c4c0
- #2e1124
- #fcd5ee
- #5f9c96
Locked as the first of five swatches, teal-900 gets #78c4c0, #2e1124, #fcd5ee, #5f9c96 from Recolor's generator, a split-complementary palette, built on the two hues beside its opposite. The seed is its hex, so the palette stays the same. Open it in Recolor.
Using teal-900
Pair it with text-white, 9.41:1; teal-900 as text on a white page measures the same ratio. In CSS it is var(--color-teal-900).
<a class="bg-teal-900 text-white" href="/start">Get started</a>
<p class="text-teal-900">Text in teal-900</p>Common questions
Does white text pass WCAG AA on Tailwind teal-900?
Yes. White text measures 9.41:1 on teal-900, above the 4.5:1 that WCAG AA asks of body text, and above AAA's 7:1 too.
Is Tailwind teal-900 defined in OKLCH?
Yes. Tailwind CSS 4.3.3 defines it as --color-teal-900: oklch(38.6% 0.063 188.416); #0b4f4a is its conversion to sRGB.
Is there a CSS named color for Tailwind teal-900?
No. The nearest CSS named color is darkslategray (#2f4f4f), 0.031 away in OKLab.
Sources
- Tailwind CSS: Colors tailwindcss.com
- WCAG 2.2: Contrast (Minimum) w3.org