Eleven shades, from emerald-50 to emerald-950
Tailwind emerald colors
Tailwind CSS 4.3.3 defines eleven emerald shades in OKLCH, from emerald-50 (#ecfdf5) to emerald-950 (#002c22). On them white text passes WCAG AA from emerald-700 to emerald-950, and black text from emerald-50 to emerald-600. Recolor (recolor.page) shows the scale on a real page.
Last updated
- 50#ecfdf5
- 100#d0fae5
- 200#a4f4cf
- 300#5ee9b5
- 400#00d492
- 500#00bc7d
- 600#009966
- 700#007a55
- 800#006045
- 900#004f3b
- 950#002c22
| Shade | OKLCH | Hex | White text | Black text |
|---|---|---|---|---|
| emerald-50 | oklch(97.9% 0.021 166.113) | #ecfdf5 | 1.05:1 fails | 19.94:1 passes |
| emerald-100 | oklch(95% 0.052 163.051) | #d0fae5 | 1.14:1 fails | 18.49:1 passes |
| emerald-200 | oklch(90.5% 0.093 164.15) | #a4f4cf | 1.28:1 fails | 16.42:1 passes |
| emerald-300 | oklch(84.5% 0.143 164.978) | #5ee9b5 | 1.52:1 fails | 13.80:1 passes |
| emerald-400 | oklch(76.5% 0.177 163.223) | #00d492 | 1.94:1 fails | 10.83:1 passes |
| emerald-500 | oklch(69.6% 0.17 162.48) | #00bc7d | 2.47:1 fails | 8.49:1 passes |
| emerald-600 | oklch(59.6% 0.145 163.225) | #009966 | 3.65:1 fails | 5.75:1 passes |
| emerald-700 | oklch(50.8% 0.118 165.612) | #007a55 | 5.36:1 passes | 3.91:1 fails |
| emerald-800 | oklch(43.2% 0.095 166.913) | #006045 | 7.61:1 passes | 2.76:1 fails |
| emerald-900 | oklch(37.8% 0.077 168.94) | #004f3b | 9.63:1 passes | 2.18:1 fails |
| emerald-950 | oklch(26.2% 0.051 172.552) | #002c22 | 15.18:1 passes | 1.38:1 fails |
Text on emerald, and emerald as text
As a text color the rule turns around: emerald text on a white page passes AA from emerald-700 on, and on a black page up to emerald-600, since a contrast ratio is the same whichever color is in front.
Chroma peaks at emerald-400 (0.177) and falls toward both ends, while the hue drifts 10.1 degrees across the scale.
7 of the eleven lie outside sRGB, so their hex codes are the nearest sRGB colors, and a wide-gamut screen shows them stronger.
Sources
- Tailwind CSS: Colors tailwindcss.com
- WCAG 2.2: Contrast (Minimum) w3.org