#D4E7AB#D4E7AB

#D4E7AB is a very light, moderate yellow-green. Relative luminance 0.741; OKLCH L 89.9% C 0.081 H 122.3°. Best body text is #000000 at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#D4E7AB
RGBrgb(212, 231, 171)
HSLhsl(79, 56%, 79%)
HSVhsv(79, 26%, 91%)
CMYKcmyk(8.2%, 0%, 26%, 9.4%)
CIE-LABlab(88.96, -16.30, 27.19)
CIE-LCHlch(88.96, 31.71, 120.95°)
OKLaboklab(89.91% -0.0434 0.0687)
OKLCHoklch(89.91% 0.081 122.3)
XYZxyz(63.0772, 74.0891, 49.4978)
Luminance0.7409 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E7AB #BEABE7
analogous
#E7DCAB #D4E7AB #B6E7AB
triadic
#D4E7AB #ABD4E7 #E7ABD4
tetradic
#D4E7AB #ABE7DC #BEABE7 #E7ABB6
square
#D4E7AB #ABE7DC #BEABE7 #E7ABB6
split-complementary
#D4E7AB #ABB6E7 #DCABE7
monochromatic
#A3CC4C #BCD97B #D4E7AB #ECF5DB #F3F8E7

Accessibility & contrast

On white

1.33
#D4E7AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.82
#D4E7AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E7AB
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E7AB#FFFFFF#000000##000000
##D4E7AB1.001.3315.8215.82
#FFFFFF1.331.0021.0021.00
#00000015.8221.001.001.00
##00000015.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EEE0A7
Deuteranopia (green-blind)
#ECDFAE
Tritanopia (blue-blind)
#D9E1D7
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d4e7ab;
/* rgb */ color: rgb(212, 231, 171);
/* oklch */ color: oklch(89.9% 0.081 122.3);
Tailwind
colors: {
  custom: {
    50: '#e1eec4',
    500: '#d4e7ab',
    950: '#000000',
  },
}
SCSS
$custom: #d4e7ab;
$custom-light: #e1eec4;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e7ab",
  "rgb": {
    "r": 212,
    "g": 231,
    "b": 171
  },
  "hsl": {
    "h": 79,
    "s": 55.556,
    "l": 78.824
  },
  "oklch": {
    "l": 0.89906,
    "c": 0.08127,
    "h": 122.3
  },
  "luminance": 0.74089
}

Semantic roles & 50–950 ramp

primary
#D4E7AB
secondary
#8D74C2
accent
#22C355
background
#FEFFFD
surface
#FCFEF9
border
#D5D6D2
text
#151612
muted
#848582

Preview Lab

Preview with #D4E7AB

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

Preview Lab → · Contrast checker → · Palette generator →

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