#D7ECA2#D7ECA2

#D7ECA2 is a very light, moderate yellow-green. Relative luminance 0.770; OKLCH L 91.0% C 0.098 H 121.2°. Best body text is #000000 at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#D7ECA2
RGBrgb(215, 236, 162)
HSLhsl(77, 66%, 78%)
HSVhsv(77, 31%, 93%)
CMYKcmyk(8.9%, 0%, 31.4%, 7.5%)
CIE-LABlab(90.34, -18.90, 33.66)
CIE-LCHlch(90.34, 38.61, 119.31°)
OKLaboklab(91.01% -0.051 0.084)
OKLCHoklch(91.01% 0.098 121.2)
XYZxyz(64.5409, 77.0467, 45.6468)
Luminance0.7705 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7ECA2 #B7A2EC
analogous
#ECDCA2 #D7ECA2 #B2ECA2
triadic
#D7ECA2 #A2D7EC #ECA2D7
tetradic
#D7ECA2 #A2ECDC #B7A2EC #ECA2B2
square
#D7ECA2 #A2ECDC #B7A2EC #ECA2B2
split-complementary
#D7ECA2 #A2B2EC #DCA2EC
monochromatic
#ABD73C #C1E26F #D7ECA2 #EDF6D5 #F4FAE6

Accessibility & contrast

On white

1.28
#D7ECA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.41
#D7ECA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7ECA2
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7ECA2#FFFFFF#000000##000000
##D7ECA21.001.2816.4116.41
#FFFFFF1.281.0021.0021.00
#00000016.4121.001.001.00
##00000016.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E49D
Deuteranopia (green-blind)
#F2E3A5
Tritanopia (blue-blind)
#DDE5D9
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #d7eca2;
/* rgb */ color: rgb(215, 236, 162);
/* oklch */ color: oklch(91.0% 0.098 121.2);
Tailwind
colors: {
  custom: {
    50: '#e4f2be',
    500: '#d7eca2',
    950: '#000000',
  },
}
SCSS
$custom: #d7eca2;
$custom-light: #e4f2be;
$custom-dark: #000000;
JSON
{
  "hex": "#d7eca2",
  "rgb": {
    "r": 215,
    "g": 236,
    "b": 162
  },
  "hsl": {
    "h": 77.027,
    "s": 66.071,
    "l": 78.039
  },
  "oklch": {
    "l": 0.91006,
    "c": 0.09823,
    "h": 121.2
  },
  "luminance": 0.77047
}

Semantic roles & 50–950 ramp

primary
#D7ECA2
secondary
#856AC8
accent
#18CE4B
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151612
muted
#848582

Preview Lab

Preview with #D7ECA2

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

Preview Lab → · Contrast checker → · Palette generator →

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