#D4E7AC#D4E7AC

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

Color values

HEX#D4E7AC
RGBrgb(212, 231, 172)
HSLhsl(79, 55%, 79%)
HSVhsv(79, 26%, 91%)
CMYKcmyk(8.2%, 0%, 25.5%, 9.4%)
CIE-LABlab(88.98, -16.16, 26.70)
CIE-LCHlch(88.98, 31.21, 121.19°)
OKLaboklab(89.93% -0.043 0.0675)
OKLCHoklch(89.93% 0.08 122.5)
XYZxyz(63.1729, 74.1274, 50.0017)
Luminance0.7413 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E7AC #BFACE7
analogous
#E7DDAC #D4E7AC #B7E7AC
triadic
#D4E7AC #ACD4E7 #E7ACD4
tetradic
#D4E7AC #ACE7DD #BFACE7 #E7ACB7
square
#D4E7AC #ACE7DD #BFACE7 #E7ACB7
split-complementary
#D4E7AC #ACB7E7 #DDACE7
monochromatic
#A3CC4D #BBD97D #D4E7AC #EDF5DB #F3F8E7

Accessibility & contrast

On white

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

On black

15.83
#D4E7AC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E7AC
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E7AC#FFFFFF#000000##000000
##D4E7AC1.001.3315.8315.83
#FFFFFF1.331.0021.0021.00
#00000015.8321.001.001.00
##00000015.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4e7ac;
/* rgb */ color: rgb(212, 231, 172);
/* oklch */ color: oklch(89.9% 0.080 122.5);
Tailwind
colors: {
  custom: {
    50: '#e1eec5',
    500: '#d4e7ac',
    950: '#000000',
  },
}
SCSS
$custom: #d4e7ac;
$custom-light: #e1eec5;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e7ac",
  "rgb": {
    "r": 212,
    "g": 231,
    "b": 172
  },
  "hsl": {
    "h": 79.322,
    "s": 55.14,
    "l": 79.02
  },
  "oklch": {
    "l": 0.89926,
    "c": 0.08007,
    "h": 122.5
  },
  "luminance": 0.74127
}

Semantic roles & 50–950 ramp

primary
#D4E7AC
secondary
#8E75C2
accent
#23C356
background
#FEFFFD
surface
#FCFEF9
border
#D5D6D2
text
#151613
muted
#848582

Preview Lab

Preview with #D4E7AC

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

Preview Lab → · Contrast checker → · Palette generator →

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