Skip to content

Tailwind CSS v4 default palette

Tailwind emerald-200: #A4F4CF

In Tailwind CSS v4, emerald-200 is defined as --color-emerald-200: oklch(90.5% 0.093 164.15), which is #A4F4CF in hex and rgb(164, 244, 207): a very light, moderately saturated green-cyan. In Tailwind v3, emerald-200 was #A7F3D0.

emerald-200#A4F4CF

In OKLCH, emerald-200 has a lightness of 90.5%, chroma 0.093 and hue 164.2°.

The value fits inside sRGB, so the hex #A4F4CF represents it without loss on any screen.

In v3, emerald-200 was #A7F3D0. The v4 value is ΔE OK 0.4 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-200

Color codes for emerald-200
Tailwind v4 token--color-emerald-200
OKLCH (source value)oklch(90.5% 0.093 164.15)
HEX#A4F4CF
RGBrgb(164, 244, 207)
HSLhsl(152, 78%, 80%)
HWBhwb(152 64% 4%)
CMYK (naive, no ICC profile)cmyk(33%, 0%, 15%, 4%)
Decimal10,810,575
Tailwind v3 hex#A7F3D0
Utility classesbg-emerald-200, text-emerald-200, border-emerald-200

Tailwind emerald scale

Contrast and accessibility

On emerald-200, black text has a contrast ratio of 16.41:1 and passes AAA at any text size; white text reaches 1.27: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.

Contrast and accessibility
PairRatioAAAA largeAAAAAA largeAPCA Lc
Black text on emerald-20016.41:1PassPassPassPass89.9
White text on emerald-2001.27:1FailFailFailFail−15.9
Emerald-200 text on white1.27:1FailFailFailFail13.7
Emerald-200 text on black16.41:1PassPassPassPass−90.1

Tints and shades

Each step mixes var(--color-emerald-200) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-emerald-200), white 25%) in CSS.

Tints (mixed with white)

  1. 5%
    #a9f5d1
  2. 15%
    #b2f6d6
  3. 25%
    #bbf7db
  4. 35%
    #c4f8e0
  5. 45%
    #cdf9e5
  6. 55%
    #d6fae9
  7. 65%
    #dffbee
  8. 75%
    #e8fcf3
  9. 85%
    #f1fdf8
  10. 95%
    #fafefd

Shades (mixed with black)

  1. 5%
    #9ce8c5
  2. 15%
    #8bcfb0
  3. 25%
    #7bb79b
  4. 35%
    #6b9f87
  5. 45%
    #5a8672
  6. 55%
    #4a6e5d
  7. 65%
    #395548
  8. 75%
    #293d34
  9. 85%
    #19251f
  10. 95%
    #080c0a

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, emerald-200's complementary color is #FFC8EE (close to pink), its analogous colors are #C6EEAF and #91F4F2, and its triadic partners are #D9DAFF and #FFD0B7. For text on top, black gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#ffc8ee
Analogous−30°, +30°#c6eeaf#91f4f2
Triadic+120°, +240°#d9daff#ffd0b7
Split-complementary+150°, +210°#f7ceff#ffcdd1

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-200 is a cool color: its hue is 152° 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.

Nearest CSS named colors

Nearest CSS named colors
ColorHEXΔE OK
aquamarine#7fffd44.0
paleturquoise#afeeee5.2
powderblue#b0e0e67.1

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
green-200#b9f8cf2.5
teal-200#96f7e42.7
emerald-100#d0fae56.1

Code snippets

Tailwind CSS
<div class="bg-emerald-200 text-black">...</div>
<p class="text-emerald-200 border-emerald-200">...</p>
CSS
.element {
  color: var(--color-emerald-200);
  background-color: oklch(90.5% 0.093 164.15);
  border-color: #a4f4cf;
  outline-color: rgb(164 244 207);
}
SwiftUI
import SwiftUI

extension Color {
  static let emerald200 = Color(red: 0.643, green: 0.957, blue: 0.812)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

val Emerald200 = Color(0xFFA4F4CF)
Flutter
import 'package:flutter/material.dart';

const emerald200 = Color(0xFFA4F4CF);
Android XML
<!-- res/values/colors.xml -->
<color name="emerald_200">#A4F4CF</color>

Frequently asked questions

What is the hex code for Tailwind emerald-200?
In Tailwind CSS v4, emerald-200 is oklch(90.5% 0.093 164.15), which converts to #A4F4CF (rgb(164, 244, 207)) in sRGB. In Tailwind v3 the same name was #A7F3D0.
What is the difference between emerald-200 in Tailwind v3 and v4?
v3 used the hex #A7F3D0; v4 redefined the palette in OKLCH as oklch(90.5% 0.093 164.15). In v3, emerald-200 was #A7F3D0. The v4 value is ΔE OK 0.4 away, below the point where most people can tell them apart.
How do I use emerald-200 in plain CSS?
Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-emerald-200). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
Can you use white text on emerald-200?
White text on emerald-200 has a contrast ratio of 1.27:1, which fails AA even for large text under WCAG 2.2. Black text reaches 16.41:1 and passes both AA and AAA. In APCA terms that is Lc −15.9 for white and Lc 89.9 for black.
Which CSS named color is closest to emerald-200?
The closest is aquamarine (#7FFFD4) at ΔE OK 4.0, followed by paleturquoise and powderblue.

Last reviewed by Arielton Oberek.