Tailwind CSS v4 default palette
Tailwind emerald-100: #D0FAE5
In Tailwind CSS v4, emerald-100 is defined as --color-emerald-100: oklch(95% 0.052 163.051), which is #D0FAE5 in hex and rgb(208, 250, 229): an off-white with a green-cyan tint. In Tailwind v3, emerald-100 was #D1FAE5.
In OKLCH, emerald-100 has a lightness of 95.0%, chroma 0.052 and hue 163.1°.
The value fits inside sRGB, so the hex #D0FAE5 represents it without loss on any screen.
In v3, emerald-100 was #D1FAE5. The v4 value is ΔE OK 0.1 away, below the point where most people can tell them apart.
Tailwind emerald is a cooler, slightly bluer green than green, common for success states in finance and health products.
Color codes for emerald-100
| Tailwind v4 token | --color-emerald-100 |
|---|---|
| OKLCH (source value) | oklch(95% 0.052 163.051) |
| HEX | #D0FAE5 |
| RGB | rgb(208, 250, 229) |
| HSL | hsl(150, 81%, 90%) |
| HWB | hwb(150 82% 2%) |
| CMYK (naive, no ICC profile) | cmyk(17%, 0%, 8%, 2%) |
| Decimal | 13,695,717 |
| Tailwind v3 hex | #D1FAE5 |
| Utility classes | bg-emerald-100, text-emerald-100, border-emerald-100 |
Tailwind emerald scale
Contrast and accessibility
On emerald-100, black text has a contrast ratio of 18.48:1 and passes AAA at any text size; white text reaches 1.13:1.
WCAG 2.2 contrast ratios (success criteria 1.4.3 and 1.4.6: AA needs 4.5:1 for normal text and 3:1 for large text, AAA needs 7:1 and 4.5:1). APCA Lc is the lightness contrast from the APCA-W3 0.0.98G model proposed for WCAG 3; a higher absolute value is more readable, and Lc 75 is its suggested minimum for body text.
| Pair | Ratio | AA | AA large | AAA | AAA large | APCA Lc |
|---|---|---|---|---|---|---|
| Black text on emerald-100 | 18.48:1 | Pass | Pass | Pass | Pass | 97.4 |
| White text on emerald-100 | 1.13:1 | Fail | Fail | Fail | Fail | −7.3 |
| Emerald-100 text on white | 1.13:1 | Fail | Fail | Fail | Fail | 0.0 |
| Emerald-100 text on black | 18.48:1 | Pass | Pass | Pass | Pass | −98.3 |
Tints and shades
Each step mixes var(--color-emerald-100) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-emerald-100), white 25%) in CSS.
Tints (mixed with white)
- 5%
#d2fae6 - 15%
#d7fbe9 - 25%
#dcfbec - 35%
#e0fcee - 45%
#e5fcf1 - 55%
#eafdf3 - 65%
#effdf6 - 75%
#f3fef9 - 85%
#f8fefb - 95%
#fdfffe
Shades (mixed with black)
- 5%
#c6eeda - 15%
#b1d5c3 - 25%
#9cbcac - 35%
#87a395 - 45%
#728a7e - 55%
#5e7067 - 65%
#495850 - 75%
#343f39 - 85%
#1f2622 - 95%
#0a0d0b
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, emerald-100's complementary color is #FFE1F8 (close to lavender), its analogous colors are #E1F7D3 and #C7FAF8, and its triadic partners are #E9EBFF and #FFE5D4. For text on top, black gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #ffe1f8 |
| Analogous | −30°, +30° | #e1f7d3#c7faf8 |
| Triadic | +120°, +240° | #e9ebff#ffe5d4 |
| Split-complementary | +150°, +210° | #fbe5ff#ffe2e5 |
Computed in OKLCH: the hue is rotated by 180° (complementary), ±30° (analogous), ±120° (triadic) and 180° ±30° (split-complementary) while lightness and chroma stay fixed. Results that fall outside sRGB are brought back with the CSS Color 4 gamut mapping algorithm. Because this uses OKLCH, the values differ from tools that rotate hue in HSL, but every color keeps the same perceived lightness.
Warm or cool?
Tailwind emerald-100 is a cool color: its hue is 150° on the HSL wheel, in the green, blue and violet range that is conventionally called cool.
Nearest named and Tailwind colors
Distance is ΔE OK, the Euclidean distance in OKLab multiplied by 100. Values under about 2 are hard to tell apart side by side.
Code snippets
<div class="bg-emerald-100 text-black">...</div>
<p class="text-emerald-100 border-emerald-100">...</p>.element {
color: var(--color-emerald-100);
background-color: oklch(95% 0.052 163.051);
border-color: #d0fae5;
outline-color: rgb(208 250 229);
}import SwiftUI
extension Color {
static let emerald100 = Color(red: 0.816, green: 0.980, blue: 0.898)
}import androidx.compose.ui.graphics.Color
val Emerald100 = Color(0xFFD0FAE5)import 'package:flutter/material.dart';
const emerald100 = Color(0xFFD0FAE5);<!-- res/values/colors.xml -->
<color name="emerald_100">#D0FAE5</color>Frequently asked questions
- What is the hex code for Tailwind emerald-100?
- In Tailwind CSS v4, emerald-100 is oklch(95% 0.052 163.051), which converts to #D0FAE5 (rgb(208, 250, 229)) in sRGB. In Tailwind v3 the same name was #D1FAE5.
- What is the difference between emerald-100 in Tailwind v3 and v4?
- v3 used the hex #D1FAE5; v4 redefined the palette in OKLCH as oklch(95% 0.052 163.051). In v3, emerald-100 was #D1FAE5. The v4 value is ΔE OK 0.1 away, below the point where most people can tell them apart.
- How do I use emerald-100 in plain CSS?
- Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-emerald-100). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
- Can you use white text on emerald-100?
- White text on emerald-100 has a contrast ratio of 1.13:1, which fails AA even for large text under WCAG 2.2. Black text reaches 18.48:1 and passes both AA and AAA. In APCA terms that is Lc −7.3 for white and Lc 97.4 for black.
- Which CSS named color is closest to emerald-100?
- The closest is lightcyan (#E0FFFF) at ΔE OK 4.2, followed by honeydew and beige.
Last reviewed by Arielton Oberek.