#D2E579#D2E579

#D2E579 is a very light, vivid yellow-green. Relative luminance 0.711; OKLCH L 88.5% C 0.135 H 117.5°. Best body text is #000000 at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#D2E579
RGBrgb(210, 229, 121)
HSLhsl(71, 68%, 69%)
HSVhsv(71, 47%, 90%)
CMYKcmyk(8.3%, 0%, 47.2%, 10.2%)
CIE-LABlab(87.54, -22.09, 50.21)
CIE-LCHlch(87.54, 54.85, 113.75°)
OKLaboklab(88.49% -0.0623 0.1199)
OKLCHoklch(88.49% 0.135 117.5)
XYZxyz(58.0494, 71.1212, 28.7551)
Luminance0.7112 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E579 #8C79E5
analogous
#E5C279 #D2E579 #9CE579
triadic
#D2E579 #79D2E5 #E579D2
tetradic
#D2E579 #79E5C2 #8C79E5 #E5799C
square
#D2E579 #79E5C2 #8C79E5 #E5799C
split-complementary
#D2E579 #799CE5 #C279E5
monochromatic
#A4BF25 #C1DB46 #D2E579 #E3EFAC #F4F9E0

Accessibility & contrast

On white

1.38
#D2E579 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.22
#D2E579 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E579
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E579#FFFFFF#000000##000000
##D2E5791.001.3815.2215.22
#FFFFFF1.381.0021.0021.00
#00000015.2221.001.001.00
##00000015.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DB70
Deuteranopia (green-blind)
#F0DC7F
Tritanopia (blue-blind)
#DCDBCC
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #d2e579;
/* rgb */ color: rgb(210, 229, 121);
/* oklch */ color: oklch(88.5% 0.135 117.5);
Tailwind
colors: {
  custom: {
    50: '#e1eda2',
    500: '#d2e579',
    950: '#000000',
  },
}
SCSS
$custom: #d2e579;
$custom-light: #e1eda2;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e579",
  "rgb": {
    "r": 210,
    "g": 229,
    "b": 121
  },
  "hsl": {
    "h": 70.556,
    "s": 67.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.88493,
    "c": 0.13514,
    "h": 117.5
  },
  "luminance": 0.71121
}

Semantic roles & 50–950 ramp

primary
#D2E579
secondary
#5B46BD
accent
#16CF37
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#15160F
muted
#848480

Preview Lab

Preview with #D2E579

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

Preview Lab → · Contrast checker → · Palette generator →

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