Eleven shades, from green-50 to green-950
Tailwind green colors
Tailwind CSS 4.3.3 defines eleven green shades in OKLCH, from green-50 (#f0fdf4) to green-950 (#032e15). On them white text passes WCAG AA from green-700 to green-950, and black text from green-50 to green-600. Recolor (recolor.page) shows the scale on a real page.
Last updated
- 50#f0fdf4
- 100#dcfce7
- 200#b9f8cf
- 300#7bf1a8
- 400#05df72
- 500#00c951
- 600#00a63e
- 700#008236
- 800#016630
- 900#0d542b
- 950#032e15
| Shade | OKLCH | Hex | White text | Black text |
|---|---|---|---|---|
| green-50 | oklch(98.2% 0.018 155.826) | #f0fdf4 | 1.05:1 fails | 20.06:1 passes |
| green-100 | oklch(96.2% 0.044 156.743) | #dcfce7 | 1.10:1 fails | 19.12:1 passes |
| green-200 | oklch(92.5% 0.084 155.995) | #b9f8cf | 1.21:1 fails | 17.39:1 passes |
| green-300 | oklch(87.1% 0.15 154.449) | #7bf1a8 | 1.40:1 fails | 14.99:1 passes |
| green-400 | oklch(79.2% 0.209 151.711) | #05df72 | 1.78:1 fails | 11.80:1 passes |
| green-500 | oklch(72.3% 0.219 149.579) | #00c951 | 2.22:1 fails | 9.47:1 passes |
| green-600 | oklch(62.7% 0.194 149.214) | #00a63e | 3.22:1 fails | 6.52:1 passes |
| green-700 | oklch(52.7% 0.154 150.069) | #008236 | 4.95:1 passes | 4.25:1 fails |
| green-800 | oklch(44.8% 0.119 151.328) | #016630 | 7.13:1 passes | 2.94:1 fails |
| green-900 | oklch(39.3% 0.095 152.535) | #0d542b | 9.05:1 passes | 2.32:1 fails |
| green-950 | oklch(26.6% 0.065 152.934) | #032e15 | 14.94:1 passes | 1.41:1 fails |
On real websites: colors that go with green lists the hues and grays the 45 studied sites whose main color is green set beside it.
Text on green, and green as text
For green text the same lines hold in reverse: on white, use green-700 or darker; on black, green-600 or lighter. Contrast does not care which color sits behind.
The most colorful shade is green-500, chroma 0.219; the hue moves 7.5 degrees between green-50 and green-950.
Of the eleven values, 3 reach beyond sRGB; for those the hex is a gamut-mapped stand-in with less chroma.
Sources
- Tailwind CSS: Colors tailwindcss.com
- WCAG 2.2: Contrast (Minimum) w3.org