#D4E7AF#D4E7AF

#D4E7AF is a very light, moderate yellow-green. Relative luminance 0.742; OKLCH L 90.0% C 0.076 H 123.1°. Best body text is #000000 at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#D4E7AF
RGBrgb(212, 231, 175)
HSLhsl(80, 54%, 80%)
HSVhsv(80, 24%, 91%)
CMYKcmyk(8.2%, 0%, 24.2%, 9.4%)
CIE-LABlab(89.04, -15.73, 25.23)
CIE-LCHlch(89.04, 29.74, 121.94°)
OKLaboklab(89.99% -0.0418 0.064)
OKLCHoklch(89.99% 0.076 123.1)
XYZxyz(63.4643, 74.2439, 51.5362)
Luminance0.7424 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E7AF #C2AFE7
analogous
#E7DEAF #D4E7AF #B8E7AF
triadic
#D4E7AF #AFD4E7 #E7AFD4
tetradic
#D4E7AF #AFE7DE #C2AFE7 #E7AFB8
square
#D4E7AF #AFE7DE #C2AFE7 #E7AFB8
split-complementary
#D4E7AF #AFB8E7 #DEAFE7
monochromatic
#A1CB51 #BBD980 #D4E7AF #EDF5DE #F2F8E7

Accessibility & contrast

On white

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

On black

15.85
#D4E7AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E7AF
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E7AF#FFFFFF#000000##000000
##D4E7AF1.001.3315.8515.85
#FFFFFF1.331.0021.0021.00
#00000015.8521.001.001.00
##00000015.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EEE0AC
Deuteranopia (green-blind)
#EBE0B1
Tritanopia (blue-blind)
#D8E1D8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d4e7af;
/* rgb */ color: rgb(212, 231, 175);
/* oklch */ color: oklch(90.0% 0.076 123.1);
Tailwind
colors: {
  custom: {
    50: '#e1eec7',
    500: '#d4e7af',
    950: '#000000',
  },
}
SCSS
$custom: #d4e7af;
$custom-light: #e1eec7;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e7af",
  "rgb": {
    "r": 212,
    "g": 231,
    "b": 175
  },
  "hsl": {
    "h": 80.357,
    "s": 53.846,
    "l": 79.608
  },
  "oklch": {
    "l": 0.89988,
    "c": 0.07644,
    "h": 123.1
  },
  "luminance": 0.74244
}

Semantic roles & 50–950 ramp

primary
#D4E7AF
secondary
#9178C2
accent
#24C159
background
#FEFFFD
surface
#FCFEF9
border
#D5D6D2
text
#151613
muted
#848582

Preview Lab

Preview with #D4E7AF

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

Preview Lab → · Contrast checker → · Palette generator →

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