#D2ECAC#D2ECAC

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

Color values

HEX#D2ECAC
RGBrgb(210, 236, 172)
HSLhsl(84, 63%, 80%)
HSVhsv(84, 27%, 93%)
CMYKcmyk(11%, 0%, 27.1%, 7.5%)
CIE-LABlab(90.17, -19.34, 28.29)
CIE-LCHlch(90.17, 34.27, 124.36°)
OKLaboklab(90.84% -0.0519 0.0714)
OKLCHoklch(90.84% 0.088 126.1)
XYZxyz(64.0192, 76.6708, 50.4479)
Luminance0.7667 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2ECAC #C6ACEC
analogous
#ECE6AC #D2ECAC #B2ECAC
triadic
#D2ECAC #ACD2EC #ECACD2
tetradic
#D2ECAC #ACECE6 #C6ACEC #ECACB2
square
#D2ECAC #ACECE6 #C6ACEC #ECACB2
split-complementary
#D2ECAC #ACB2EC #E6ACEC
monochromatic
#9CD548 #B7E17A #D2ECAC #EDF7DE #F1F9E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2ECAC#FFFFFF#000000##000000
##D2ECAC1.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)
#F3E4A8
Deuteranopia (green-blind)
#EFE2AF
Tritanopia (blue-blind)
#D6E6DB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #d2ecac;
/* rgb */ color: rgb(210, 236, 172);
/* oklch */ color: oklch(90.8% 0.088 126.1);
Tailwind
colors: {
  custom: {
    50: '#e0f2c5',
    500: '#d2ecac',
    950: '#000000',
  },
}
SCSS
$custom: #d2ecac;
$custom-light: #e0f2c5;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ecac",
  "rgb": {
    "r": 210,
    "g": 236,
    "b": 172
  },
  "hsl": {
    "h": 84.375,
    "s": 62.745,
    "l": 80
  },
  "oklch": {
    "l": 0.90838,
    "c": 0.08827,
    "h": 126.1
  },
  "luminance": 0.76671
}

Semantic roles & 50–950 ramp

primary
#D2ECAC
secondary
#9674C9
accent
#1BCA62
background
#FEFFFD
surface
#FCFEF9
border
#D5D6D2
text
#151613
muted
#848582

Preview Lab

Preview with #D2ECAC

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

Preview Lab → · Contrast checker → · Palette generator →

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