Tailwind CSS v3 color

Tailwind emerald-200 #A7F3D0

Tailwind CSS v3's emerald-200 is #A7F3D0. It is a pale muted green in the green family. In OKLCH it sits at lightness 0.905, chroma 0.089 and hue 164.2°. The nearest CSS named color is aquamarine (#7FFFD4), ΔE2000 5.8 away.

Relative luminance
0.7687
OKLCH L · C · h
0.905 · 0.089 · 164.2
Best text
Black 16.37:1
Hue family
Green

#A7F3D0 color codes

HEX
#A7F3D0
RGB
rgb(167, 243, 208)
HSL
hsl(152, 76%, 80%)
OKLCH
oklch(0.905 0.089 164.2)
OKLab
oklab(0.905 -0.086 0.024)
CIELAB (D65)
L* 90.26, a* -30.61, b* 9.47
XYZ (D65)
X 59.37, Y 76.87, Z 71.37
CMYK (naive)
cmyk(31%, 0%, 14%, 5%)

CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.

Legibility

Contrast: is #A7F3D0 accessible?

Black text on it reaches 16.37:1, passing AAA. White text fails at 1.28:1.

WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.

Open the Contrast System
  • Black text on it

    16.37:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc +89
  • White text on it

    1.28:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc −16

    Text is here, unreadable at 1.28:1

  • As text on black

    16.37:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc −89
  • As text on white

    1.28:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc +13

    Text is here, unreadable at 1.28:1

Nearest versions that pass 4.5:1

  • For text on white

    #388365 4.56:1

    Darkening its OKLCH lightness from 0.90 to 0.55 reaches 4.56:1 on white, keeping the hue.

  • For text on black

    #A7F3D0 16.37:1

    It already reaches 16.37:1 on black, so no change is needed.

Checking another pair? Use the Contrast Checker.

Studio

Adjust #A7F3D0 live

Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.

The studio needs JavaScript.

Scale

Shades and tints of #A7F3D0

Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #A7F3D0 sits at step 200.

  1. 50#DCFFED
    White
    1.07
    Black
    19.57
  2. 100#BEFBDE
    White
    1.16
    Black
    18.04
  3. 200This color#A7F3D0
    White
    1.28
    Black
    16.37
  4. 300#8ACFAF
    White
    1.80
    Black
    11.62
  5. 400#6AB393
    White
    2.47
    Black
    8.48
  6. 500#4D9778
    White
    3.49
    Black
    6.01
  7. 600#347F61
    White
    4.82
    Black
    4.35
  8. 700#1A674B
    White
    6.80
    Black
    3.08
  9. 800#004C34
    White
    10.07
    Black
    2.08
  10. 900#003221
    White
    14.20
    Black
    1.47
  11. 950#001C11
    White
    17.88
    Black
    1.17

Under each step, white and black text on it; a bold figure passes 4.5:1.

Tailwind CSS v3 emerald scale

The real Tailwind palette, for comparison with the computed ramp above.

  1. 50#ECFDF5
    White
    1.05
    Black
    19.93
  2. 100#D1FAE5
    White
    1.13
    Black
    18.51
  3. 200This color#A7F3D0
    White
    1.28
    Black
    16.37
  4. 300#6EE7B7
    White
    1.52
    Black
    13.77
  5. 400#34D399
    White
    1.92
    Black
    10.92
  6. 500#10B981
    White
    2.53
    Black
    8.27
  7. 600#059669
    White
    3.76
    Black
    5.57
  8. 700#047857
    White
    5.48
    Black
    3.82
  9. 800#065F46
    White
    7.68
    Black
    2.73
  10. 900#064E3B
    White
    9.71
    Black
    2.16
  11. 950#022C22
    White
    15.15
    Black
    1.38

Gamut

How vivid #A7F3D0 can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.151; #A7F3D0 uses 59% of it. Display P3, which many recent phones and laptops show, reaches 0.170 there: 13% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.089
sRGB edge
0.151
Display P3 edge
0.170
Rec. 2020 edge
0.203
Dominant wavelength
512 nm
Excitation purity
9%
Chromaticity
x 0.2860, y 0.3703
  • This color#A7F3D0
  • Most vivid in sRGB#6DFFC5
  • Most vivid in Display P3oklch(0.905 0.170 164.2)

On a screen without Display P3 the last tile shows the sRGB edge instead.

Use the wider color where screens show it
.accent {
  color: #a7f3d0;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.5367 1 0.7756); }
}

Mixing

Mixing #A7F3D0

Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.

White #FFFFFF

  • sRGB50%#D3F9E8
  • OKLab50%#D5F9E7
  • OKLCH50%#D5F9E7

Black #000000

  • sRGB50%#547A68
  • OKLab50%#3E5E4F
  • OKLCH50%#3E5E4F

Its complement #FFD0EA

  • sRGB50%#D3E2DD
  • OKLab50%#D8E3DD
  • OKLCH50%#CBE2FF
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #a7f3d0, white);
color: color-mix(in oklch, #a7f3d0 50%, white);

In use

#A7F3D0 in an interface

A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.

Light page

  • Button labelText, 4.5:116.37:1 Passes
  • Link and body-size textText, 4.5:11.28:1 Fails
  • Large headingLarge text, 3:11.28:1 Fails
  • Icons, borders and focus ringsNon-text, 3:11.28:1 Fails

For text on this page, the nearest shade that passes is #388365 4.56:1

Dark page

  • Button labelText, 4.5:116.37:1 Passes
  • Link and body-size textText, 4.5:114.60:1 Passes
  • Large headingLarge text, 3:114.60:1 Passes
  • Icons, borders and focus ringsNon-text, 3:114.60:1 Passes

Color vision

How #A7F3D0 looks with color blindness

Achromatopsia changes it most, ΔE2000 22.1; tritanopia changes it least, 8.9.

Simulated with Machado et al. (2009) at full severity, in linear light.

Simulate a whole page What each type sees
  • Protanopia

    No working red (long-wavelength) cones

    #F0E9CE ΔE2000 19.9

    Distinct

    Reads as pale grayish amber

  • Deuteranopia

    No working green (medium-wavelength) cones

    #E3DFD2 ΔE2000 20.8

    Distinct

    Reads as off-white

  • Tritanopia

    No working blue (short-wavelength) cones

    #96F3E9 ΔE2000 8.9

    Noticeable

    Reads as pale muted cyan

  • Achromatopsia

    No cone color vision; lightness only

    #E3E3E3 ΔE2000 22.1

    Distinct

    Reads as off-white

Pairing check

Checked against its complement, #FFD0EA. Their lightness contrast is only 1.05:1, so where hue collapses, add a label, icon or pattern.

VisionThe pairΔE2000Verdict
Normal vision#A7F3D0 · #FFD0EA39.7Stays distinct
Protanopia#F0E9CE · #D2D9EB20.7Stays distinct
Deuteranopia#E3DFD2 · #DDE0E910.7Stays distinct
Tritanopia#96F3E9 · #FFD0D948.8Stays distinct
Achromatopsia#E3E3E3 · #DDDDDD1.3Easily confused

Harmony

Color harmonies for #A7F3D0

Its complement is #FFD0EA, a pale muted magenta, on the warm side of the wheel.

Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.

Open the Harmony Studio
  • Base#A7F3D0
  • Complement#FFD0EA

Complementary

Open in Harmony Studio
  • −30°#C7EDB1
  • Base#A7F3D0
  • +30°#95F3F1
  • Base#A7F3D0
  • +120°#DBDCFF
  • +240°#FFD5C4
  • Base#A7F3D0
  • +150°#F0D3FF
  • +210°#FFD3D5

Split-complementary

Open in Harmony Studio

Code

Design tokens

Ready-to-paste tokens in six formats. Rename them to fit your system.

CSS custom property

:root {
  --color-emerald-200: #a7f3d0;
}

Tailwind config

// tailwind.config.js — already built in as emerald-200;
// pin the v3 value explicitly like this:
module.exports = {
  theme: {
    extend: {
      colors: {
        emerald: { 200: '#a7f3d0' },
      },
    },
  },
};

Tailwind v4 theme

/* app.css — Tailwind CSS v4 */
@import "tailwindcss";

@theme {
  /* v4 has its own emerald-200; this pins the v3 value. */
  --color-emerald-200: oklch(0.905 0.089 164.2);
}

Design token (W3C DTCG)

{
  "color": {
    "emerald-200": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.6549, 0.9529, 0.8157],
        "hex": "#a7f3d0"
      },
      "$description": "Tailwind CSS v3 emerald-200"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let emerald200 = Color(.sRGB, red: 0.655, green: 0.953, blue: 0.816, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Emerald200 = Color(0xFFA7F3D0)
}

Matches

The nearest match in each system

The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.

Tools

Open #A7F3D0 in the tools

Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.