#D2ECAB#D2ECAB

#D2ECAB is a very light, moderate yellow-green. Relative luminance 0.766; OKLCH L 90.8% C 0.089 H 125.8°. Best body text is #000000 at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#D2ECAB
RGBrgb(210, 236, 171)
HSLhsl(84, 63%, 80%)
HSVhsv(84, 28%, 93%)
CMYKcmyk(11%, 0%, 27.5%, 7.5%)
CIE-LABlab(90.15, -19.48, 28.78)
CIE-LCHlch(90.15, 34.75, 124.10°)
OKLaboklab(90.82% -0.0524 0.0725)
OKLCHoklch(90.82% 0.089 125.8)
XYZxyz(63.9236, 76.6325, 49.9440)
Luminance0.7663 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2ECAB #C5ABEC
analogous
#ECE6AB #D2ECAB #B2ECAB
triadic
#D2ECAB #ABD2EC #ECABD2
tetradic
#D2ECAB #ABECE6 #C5ABEC #ECABB2
square
#D2ECAB #ABECE6 #C5ABEC #ECABB2
split-complementary
#D2ECAB #ABB2EC #E6ABEC
monochromatic
#9DD547 #B7E179 #D2ECAB #EDF7DD #F2F9E6

Accessibility & contrast

On white

1.29
#D2ECAB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.33
#D2ECAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2ECAB
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2ECAB#FFFFFF#000000##000000
##D2ECAB1.001.2916.3316.33
#FFFFFF1.291.0021.0021.00
#00000016.3321.001.001.00
##00000016.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3E4A7
Deuteranopia (green-blind)
#EFE2AE
Tritanopia (blue-blind)
#D6E6DB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #d2ecab;
/* rgb */ color: rgb(210, 236, 171);
/* oklch */ color: oklch(90.8% 0.089 125.8);
Tailwind
colors: {
  custom: {
    50: '#e0f2c4',
    500: '#d2ecab',
    950: '#000000',
  },
}
SCSS
$custom: #d2ecab;
$custom-light: #e0f2c4;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ecab",
  "rgb": {
    "r": 210,
    "g": 236,
    "b": 171
  },
  "hsl": {
    "h": 84,
    "s": 63.107,
    "l": 79.804
  },
  "oklch": {
    "l": 0.90818,
    "c": 0.08945,
    "h": 125.8
  },
  "luminance": 0.76633
}

Semantic roles & 50–950 ramp

primary
#D2ECAB
secondary
#9573C9
accent
#1BCB61
background
#FEFFFD
surface
#FCFEF9
border
#D5D6D2
text
#151612
muted
#848582

Preview Lab

Preview with #D2ECAB

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

Preview Lab → · Contrast checker → · Palette generator →

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