#D4E8AF#D4E8AF

#D4E8AF is a very light, moderate yellow-green. Relative luminance 0.748; OKLCH L 90.2% C 0.078 H 123.7°. Best body text is #000000 at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#D4E8AF
RGBrgb(212, 232, 175)
HSLhsl(81, 55%, 80%)
HSVhsv(81, 25%, 91%)
CMYKcmyk(8.6%, 0%, 24.6%, 9%)
CIE-LABlab(89.30, -16.22, 25.60)
CIE-LCHlch(89.30, 30.30, 122.37°)
OKLaboklab(90.2% -0.0432 0.0649)
OKLCHoklch(90.2% 0.078 123.7)
XYZxyz(63.7450, 74.8053, 51.6298)
Luminance0.7480 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E8AF #C3AFE8
analogous
#E8E0AF #D4E8AF #B7E8AF
triadic
#D4E8AF #AFD4E8 #E8AFD4
tetradic
#D4E8AF #AFE8E0 #C3AFE8 #E8AFB7
square
#D4E8AF #AFE8E0 #C3AFE8 #E8AFB7
split-complementary
#D4E8AF #AFB7E8 #E0AFE8
monochromatic
#A1CD50 #BADA7F #D4E8AF #EEF6DF #F2F8E7

Accessibility & contrast

On white

1.32
#D4E8AF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.96
#D4E8AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E8AF
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E8AF#FFFFFF#000000##000000
##D4E8AF1.001.3215.9615.96
#FFFFFF1.321.0021.0021.00
#00000015.9621.001.001.00
##00000015.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFE1AB
Deuteranopia (green-blind)
#ECE0B1
Tritanopia (blue-blind)
#D8E2D9
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d4e8af;
/* rgb */ color: rgb(212, 232, 175);
/* oklch */ color: oklch(90.2% 0.078 123.7);
Tailwind
colors: {
  custom: {
    50: '#e1efc7',
    500: '#d4e8af',
    950: '#000000',
  },
}
SCSS
$custom: #d4e8af;
$custom-light: #e1efc7;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e8af",
  "rgb": {
    "r": 212,
    "g": 232,
    "b": 175
  },
  "hsl": {
    "h": 81.053,
    "s": 55.34,
    "l": 79.804
  },
  "oklch": {
    "l": 0.90198,
    "c": 0.07794,
    "h": 123.7
  },
  "luminance": 0.74805
}

Semantic roles & 50–950 ramp

primary
#D4E8AF
secondary
#9278C3
accent
#23C35B
background
#FEFFFD
surface
#FCFEF9
border
#D5D6D2
text
#151613
muted
#848582

Preview Lab

Preview with #D4E8AF

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

Preview Lab → · Contrast checker → · Palette generator →

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