#D4E7A2#D4E7A2

#D4E7A2 is a very light, moderate yellow-green. Relative luminance 0.738; OKLCH L 89.7% C 0.092 H 120.8°. Best body text is #000000 at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#D4E7A2
RGBrgb(212, 231, 162)
HSLhsl(77, 59%, 77%)
HSVhsv(77, 30%, 91%)
CMYKcmyk(8.2%, 0%, 29.9%, 9.4%)
CIE-LABlab(88.81, -17.55, 31.58)
CIE-LCHlch(88.81, 36.13, 119.06°)
OKLaboklab(89.73% -0.0471 0.0791)
OKLCHoklch(89.73% 0.092 120.8)
XYZxyz(62.2484, 73.7576, 45.1327)
Luminance0.7376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E7A2 #B5A2E7
analogous
#E7D8A2 #D4E7A2 #B2E7A2
triadic
#D4E7A2 #A2D4E7 #E7A2D4
tetradic
#D4E7A2 #A2E7D8 #B5A2E7 #E7A2B2
square
#D4E7A2 #A2E7D8 #B5A2E7 #E7A2B2
split-complementary
#D4E7A2 #A2B2E7 #D8A2E7
monochromatic
#A7CE41 #BEDA71 #D4E7A2 #EAF4D3 #F4F9E7

Accessibility & contrast

On white

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

On black

15.75
#D4E7A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E7A2
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E7A2#FFFFFF#000000##000000
##D4E7A21.001.3315.7515.75
#FFFFFF1.331.0021.0021.00
#00000015.7521.001.001.00
##00000015.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DF9D
Deuteranopia (green-blind)
#EDDFA5
Tritanopia (blue-blind)
#DAE0D5
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d4e7a2;
/* rgb */ color: rgb(212, 231, 162);
/* oklch */ color: oklch(89.7% 0.092 120.8);
Tailwind
colors: {
  custom: {
    50: '#e2eebe',
    500: '#d4e7a2',
    950: '#000000',
  },
}
SCSS
$custom: #d4e7a2;
$custom-light: #e2eebe;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e7a2",
  "rgb": {
    "r": 212,
    "g": 231,
    "b": 162
  },
  "hsl": {
    "h": 76.522,
    "s": 58.974,
    "l": 77.059
  },
  "oklch": {
    "l": 0.8973,
    "c": 0.09202,
    "h": 120.8
  },
  "luminance": 0.73758
}

Semantic roles & 50–950 ramp

primary
#D4E7A2
secondary
#836CC2
accent
#1FC74D
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151612
muted
#848582

Preview Lab

Preview with #D4E7A2

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

Preview Lab → · Contrast checker → · Palette generator →

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