#D2E587#D2E587

#D2E587 is a very light, vivid yellow-green. Relative luminance 0.715; OKLCH L 88.7% C 0.121 H 118.3°. Best body text is #000000 at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#D2E587
RGBrgb(210, 229, 135)
HSLhsl(72, 64%, 71%)
HSVhsv(72, 41%, 90%)
CMYKcmyk(8.3%, 0%, 41%, 10.2%)
CIE-LABlab(87.72, -20.63, 43.67)
CIE-LCHlch(87.72, 48.29, 115.29°)
OKLaboklab(88.69% -0.0571 0.1062)
OKLCHoklch(88.69% 0.121 118.3)
XYZxyz(58.9711, 71.4899, 33.6092)
Luminance0.7149 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E587 #9A87E5
analogous
#E5C987 #D2E587 #A3E587
triadic
#D2E587 #87D2E5 #E587D2
tetradic
#D2E587 #87E5C9 #9A87E5 #E587A3
square
#D2E587 #87E5C9 #9A87E5 #E587A3
split-complementary
#D2E587 #87A3E5 #C987E5
monochromatic
#A7C72B #BFDA55 #D2E587 #E5F0B9 #F6FAE6

Accessibility & contrast

On white

1.37
#D2E587 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.30
#D2E587 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E587
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E587#FFFFFF#000000##000000
##D2E5871.001.3715.3015.30
#FFFFFF1.371.0021.0021.00
#00000015.3021.001.001.00
##00000015.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DC80
Deuteranopia (green-blind)
#EEDC8C
Tritanopia (blue-blind)
#DBDCCE
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #d2e587;
/* rgb */ color: rgb(210, 229, 135);
/* oklch */ color: oklch(88.7% 0.121 118.3);
Tailwind
colors: {
  custom: {
    50: '#e1edab',
    500: '#d2e587',
    950: '#000000',
  },
}
SCSS
$custom: #d2e587;
$custom-light: #e1edab;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e587",
  "rgb": {
    "r": 210,
    "g": 229,
    "b": 135
  },
  "hsl": {
    "h": 72.128,
    "s": 64.384,
    "l": 71.373
  },
  "oklch": {
    "l": 0.88694,
    "c": 0.12054,
    "h": 118.3
  },
  "luminance": 0.7149
}

Semantic roles & 50–950 ramp

primary
#D2E587
secondary
#6853BE
accent
#19CC3D
background
#FEFEFD
surface
#FCFDF7
border
#D5D5D0
text
#151610
muted
#848481

Preview Lab

Preview with #D2E587

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

Preview Lab → · Contrast checker → · Palette generator →

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