Tailwind CSS v3 color

Tailwind green-200 #BBF7D0

Tailwind CSS v3's green-200 is #BBF7D0. It is a pale muted green in the green family. In OKLCH it sits at lightness 0.925, chroma 0.081 and hue 156.0°. The nearest CSS named color is aquamarine (#7FFFD4), ΔE2000 8.2 away.

Relative luminance
0.8164
OKLCH L · C · h
0.925 · 0.081 · 156.0
Best text
Black 17.32:1
Hue family
Green

#BBF7D0 color codes

HEX
#BBF7D0
RGB
rgb(187, 247, 208)
HSL
hsl(141, 79%, 85%)
OKLCH
oklch(0.925 0.081 156.0)
OKLab
oklab(0.925 -0.074 0.033)
CIELAB (D65)
L* 92.41, a* -26.48, b* 12.69
XYZ (D65)
X 65.14, Y 81.64, Z 71.99
CMYK (naive)
cmyk(24%, 0%, 16%, 3%)

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 #BBF7D0 accessible?

Black text on it reaches 17.32:1, passing AAA. White text fails at 1.21: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

    17.32:1

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

    1.21:1

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

    Text is here, unreadable at 1.21:1

  • As text on black

    17.32:1

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

    1.21:1

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

    Text is here, unreadable at 1.21:1

Nearest versions that pass 4.5:1

  • For text on white

    #49815F 4.57:1

    Darkening its OKLCH lightness from 0.93 to 0.56 reaches 4.57:1 on white, keeping the hue.

  • For text on black

    #BBF7D0 17.32:1

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

Checking another pair? Use the Contrast Checker.

Studio

Adjust #BBF7D0 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 #BBF7D0

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

  1. 50#DEFFE8
    White
    1.07
    Black
    19.57
  2. 100This color#BBF7D0
    White
    1.21
    Black
    17.32
  3. 200#B2E6C4
    White
    1.39
    Black
    15.00
  4. 300#96CDAA
    White
    1.80
    Black
    11.60
  5. 400#78B18D
    White
    2.47
    Black
    8.47
  6. 500#5C9572
    White
    3.50
    Black
    5.99
  7. 600#457D5B
    White
    4.84
    Black
    4.33
  8. 700#2F6545
    White
    6.84
    Black
    3.06
  9. 800#174B2F
    White
    10.07
    Black
    2.08
  10. 900#00321A
    White
    14.27
    Black
    1.47
  11. 950#001C0C
    White
    17.92
    Black
    1.17

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

Tailwind CSS v3 green scale

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

  1. 50#F0FDF4
    White
    1.04
    Black
    20.06
  2. 100#DCFCE7
    White
    1.09
    Black
    19.12
  3. 200This color#BBF7D0
    White
    1.21
    Black
    17.32
  4. 300#86EFAC
    White
    1.40
    Black
    14.95
  5. 400#4ADE80
    White
    1.74
    Black
    12.05
  6. 500#22C55E
    White
    2.27
    Black
    9.21
  7. 600#16A34A
    White
    3.29
    Black
    6.37
  8. 700#15803D
    White
    5.01
    Black
    4.18
  9. 800#166534
    White
    7.13
    Black
    2.94
  10. 900#14532D
    White
    9.11
    Black
    2.30
  11. 950#052E16
    White
    14.90
    Black
    1.40

Gamut

How vivid #BBF7D0 can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.122; #BBF7D0 uses 66% of it. Display P3, which many recent phones and laptops show, reaches 0.137 there: 12% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.081
sRGB edge
0.122
Display P3 edge
0.137
Rec. 2020 edge
0.163
Dominant wavelength
529 nm
Excitation purity
9%
Chromaticity
x 0.2977, y 0.3732
  • This color#BBF7D0
  • Most vivid in sRGB#9FFFC4
  • Most vivid in Display P3oklch(0.925 0.137 156.0)

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

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

Mixing

Mixing #BBF7D0

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%#DDFBE8
  • OKLab50%#DEFBE8
  • OKLCH50%#DEFBE8

Black #000000

  • sRGB50%#5E7C68
  • OKLab50%#46604F
  • OKLCH50%#46604F

Its complement #FFD9F4

  • sRGB50%#DDE8E2
  • OKLab50%#E0E9E2
  • OKLCH50%#FFE0C2
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #bbf7d0, white);
color: color-mix(in oklch, #bbf7d0 50%, white);

In use

#BBF7D0 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:117.32:1 Passes
  • Link and body-size textText, 4.5:11.21:1 Fails
  • Large headingLarge text, 3:11.21:1 Fails
  • Icons, borders and focus ringsNon-text, 3:11.21:1 Fails

For text on this page, the nearest shade that passes is #49815F 4.57:1

Dark page

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

Color vision

How #BBF7D0 looks with color blindness

Achromatopsia changes it most, ΔE2000 21.0; tritanopia changes it least, 9.8.

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

    #F6EDCE ΔE2000 18.2

    Distinct

    Reads as pale grayish amber

  • Deuteranopia

    No working green (medium-wavelength) cones

    #ECE6D2 ΔE2000 18.6

    Distinct

    Reads as pale grayish amber

  • Tritanopia

    No working blue (short-wavelength) cones

    #B1F6EC ΔE2000 9.8

    Noticeable

    Reads as pale muted cyan

  • Achromatopsia

    No cone color vision; lightness only

    #E9E9E9 ΔE2000 21.0

    Distinct

    Reads as off-white

Pairing check

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

VisionThe pairΔE2000Verdict
Normal vision#BBF7D0 · #FFD9F443.8Stays distinct
Protanopia#F6EDCE · #D9E1F522.7Stays distinct
Deuteranopia#ECE6D2 · #E2E6F315.2Stays distinct
Tritanopia#B1F6EC · #FFDAE243.0Stays distinct
Achromatopsia#E9E9E9 · #E4E4E41.1Easily confused

Harmony

Color harmonies for #BBF7D0

Its complement is #FFD9F4, a pale muted magenta.

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

Open the Harmony Studio
  • Base#BBF7D0
  • Complement#FFD9F4

Complementary

Open in Harmony Studio
  • −30°#D9F1B6
  • Base#BBF7D0
  • +30°#A7F8EE
  • Base#BBF7D0
  • +120°#DFE5FF
  • +240°#FFDED5
  • Base#BBF7D0
  • +150°#EEDFFF
  • +210°#FFDCE2

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-green-200: #bbf7d0;
}

Tailwind config

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

Tailwind v4 theme

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

@theme {
  /* v4 has its own green-200; this pins the v3 value. */
  --color-green-200: oklch(0.925 0.081 156.0);
}

Design token (W3C DTCG)

{
  "color": {
    "green-200": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.7333, 0.9686, 0.8157],
        "hex": "#bbf7d0"
      },
      "$description": "Tailwind CSS v3 green-200"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let green200 = Color(.sRGB, red: 0.733, green: 0.969, blue: 0.816, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Green200 = Color(0xFFBBF7D0)
}

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 #BBF7D0 in the tools

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