#D8ECB2#D8ECB2

#D8ECB2 is a very light, moderate yellow-green. Relative luminance 0.778; OKLCH L 91.4% C 0.079 H 123.4°. Best body text is #000000 at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#D8ECB2
RGBrgb(216, 236, 178)
HSLhsl(81, 60%, 81%)
HSVhsv(81, 25%, 93%)
CMYKcmyk(8.5%, 0%, 24.6%, 7.5%)
CIE-LABlab(90.69, -16.33, 26.00)
CIE-LCHlch(90.69, 30.70, 122.13°)
OKLaboklab(91.39% -0.0434 0.0659)
OKLCHoklch(91.39% 0.079 123.4)
XYZxyz(66.3493, 77.8041, 53.6331)
Luminance0.7780 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8ECB2 #C6B2EC
analogous
#ECE3B2 #D8ECB2 #BBECB2
triadic
#D8ECB2 #B2D8EC #ECB2D8
tetradic
#D8ECB2 #B2ECE3 #C6B2EC #ECB2BB
square
#D8ECB2 #B2ECE3 #C6B2EC #ECB2BB
split-complementary
#D8ECB2 #B2BBEC #E3B2EC
monochromatic
#A6D450 #BFE081 #D8ECB2 #F1F8E3 #F3F9E6

Accessibility & contrast

On white

1.27
#D8ECB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.56
#D8ECB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8ECB2
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8ECB2#FFFFFF#000000##000000
##D8ECB21.001.2716.5616.56
#FFFFFF1.271.0021.0021.00
#00000016.5621.001.001.00
##00000016.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3E5AE
Deuteranopia (green-blind)
#F0E4B5
Tritanopia (blue-blind)
#DCE6DC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #d8ecb2;
/* rgb */ color: rgb(216, 236, 178);
/* oklch */ color: oklch(91.4% 0.079 123.4);
Tailwind
colors: {
  custom: {
    50: '#e4f2c9',
    500: '#d8ecb2',
    950: '#000000',
  },
}
SCSS
$custom: #d8ecb2;
$custom-light: #e4f2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ecb2",
  "rgb": {
    "r": 216,
    "g": 236,
    "b": 178
  },
  "hsl": {
    "h": 80.69,
    "s": 60.417,
    "l": 81.176
  },
  "oklch": {
    "l": 0.91392,
    "c": 0.07893,
    "h": 123.4
  },
  "luminance": 0.77804
}

Semantic roles & 50–950 ramp

primary
#D8ECB2
secondary
#9579C9
accent
#1DC858
background
#FEFFFD
surface
#FCFEF9
border
#D5D6D2
text
#151613
muted
#848582

Preview Lab

Preview with #D8ECB2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D8ECB2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva