A pale yellow-green, black text passes AA
Tailwind lime-200
Tailwind lime-200 is oklch(93.8% 0.127 124.321) in Tailwind CSS 4.3.3, which is #d8f999 in hex and rgb(216 249 153). Black text on it reaches 17.93:1, passing WCAG AAA. Recolor (recolor.page) shows it on a real page below.
Last updated
--color-lime-200), converted with Recolor's color code, October 9, 2026| Format | Value |
|---|---|
| OKLCH, as Tailwind writes it | oklch(93.8% 0.127 124.321) |
| Hex | #d8f999 |
| RGB | rgb(216 249 153) |
| HSL | hsl(81 89% 79%) |
| CSS variable | var(--color-lime-200) |
| Nearest CSS name | khaki #f0e68c, 0.052 away in OKLab |
| White text | 1.17:1: AA fails, AAA fails, large text fails |
| Black text | 17.93:1: AA passes, AAA passes, large text passes |
About lime-200
Tailwind lime-200 is a pale yellow-green: OKLCH lightness 93.8%, chroma 0.127, hue 124.3 degrees. On Tailwind's lime scale it sits between lime-100 at 96.7% and lime-300 at 89.7%.
HSL calls its lightness 79%, OKLCH 93.8%: 15 points between a formula and a measure of what the eye sees. Its value fits inside sRGB, so #d8f999 is the same color, not an approximation.
Black text on lime-200 measures 17.93:1, past the 7:1 of WCAG AAA, while white text manages only 1.17:1. Black text passes on every lime shade from lime-50 to lime-600, 4 shades darker than lime-200.
The nearest CSS named color, khaki (#f0e68c), is 0.052 away in OKLab: related, but plainly a different color.
Tints and shades
- #f8feef
- #f2fedf
- #ebfdce
- #e5fcbd
- #defaac
- #d8f999
- #a9c377
- #7d9057
- #536138
- #2c351c
- #0a0e05
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
- #d8f999
- #5f4b71
- #b5c585
- #21192e
- #69883b
Recolor's generator, with lime-200 locked as swatch 1 and the seed taken from its hex, drew a complementary palette, built on the hue opposite: #5f4b71, #b5c585, #21192e, #69883b. Open it in Recolor.
Using lime-200
Pair it with text-black, 17.93:1; lime-200 as text on a black page measures the same ratio. In CSS it is var(--color-lime-200).
<a class="bg-lime-200 text-black" href="/start">Get started</a>
<p class="text-lime-200">Text in lime-200</p>Common questions
Does white text pass WCAG AA on Tailwind lime-200?
No. White text measures 1.17:1 on lime-200, under AA's 4.5:1; black text measures 17.93:1 and passes. The lightest lime shade for white text is lime-700.
Is Tailwind lime-200 defined in OKLCH?
Yes. Tailwind CSS 4.3.3 defines it as --color-lime-200: oklch(93.8% 0.127 124.321); #d8f999 is its conversion to sRGB.
Is there a CSS named color for Tailwind lime-200?
No. The nearest CSS named color is khaki (#f0e68c), 0.052 away in OKLab.
Sources
- Tailwind CSS: Colors tailwindcss.com
- WCAG 2.2: Contrast (Minimum) w3.org