#D4E879#D4E879

#D4E879 is a very light, vivid yellow-green. Relative luminance 0.731; OKLCH L 89.3% C 0.138 H 117.7°. Best body text is #000000 at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#D4E879
RGBrgb(212, 232, 121)
HSLhsl(71, 71%, 69%)
HSVhsv(71, 48%, 91%)
CMYKcmyk(8.6%, 0%, 47.8%, 9%)
CIE-LABlab(88.49, -22.77, 51.39)
CIE-LCHlch(88.49, 56.20, 113.89°)
OKLaboklab(89.29% -0.0643 0.1225)
OKLCHoklch(89.29% 0.138 117.7)
XYZxyz(59.4598, 73.0912, 29.0611)
Luminance0.7309 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E879 #8D79E8
analogous
#E8C579 #D4E879 #9DE879
triadic
#D4E879 #79D4E8 #E879D4
tetradic
#D4E879 #79E8C5 #8D79E8 #E8799D
square
#D4E879 #79E8C5 #8D79E8 #E8799D
split-complementary
#D4E879 #799DE8 #C579E8
monochromatic
#A7C522 #C3DF45 #D4E879 #E5F1AD #F6FAE1

Accessibility & contrast

On white

1.34
#D4E879 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.62
#D4E879 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E879
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E879#FFFFFF#000000##000000
##D4E8791.001.3415.6215.62
#FFFFFF1.341.0021.0021.00
#00000015.6221.001.001.00
##00000015.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DE6F
Deuteranopia (green-blind)
#F3DF7F
Tritanopia (blue-blind)
#DEDECE
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d4e879;
/* rgb */ color: rgb(212, 232, 121);
/* oklch */ color: oklch(89.3% 0.138 117.7);
Tailwind
colors: {
  custom: {
    50: '#e3efa2',
    500: '#d4e879',
    950: '#000000',
  },
}
SCSS
$custom: #d4e879;
$custom-light: #e3efa2;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e879",
  "rgb": {
    "r": 212,
    "g": 232,
    "b": 121
  },
  "hsl": {
    "h": 70.811,
    "s": 70.701,
    "l": 69.216
  },
  "oklch": {
    "l": 0.89286,
    "c": 0.13836,
    "h": 117.7
  },
  "luminance": 0.73091
}

Semantic roles & 50–950 ramp

primary
#D4E879
secondary
#5B45C0
accent
#13D335
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16160F
muted
#848580

Preview Lab

Preview with #D4E879

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

Preview Lab → · Contrast checker → · Palette generator →

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