#D2ED87#D2ED87

#D2ED87 is a very light, vivid yellow-green. Relative luminance 0.760; OKLCH L 90.4% C 0.131 H 121.2°. Best body text is #000000 at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#D2ED87
RGBrgb(210, 237, 135)
HSLhsl(76, 74%, 73%)
HSVhsv(76, 43%, 93%)
CMYKcmyk(11.4%, 0%, 43%, 7.1%)
CIE-LABlab(89.87, -24.49, 46.36)
CIE-LCHlch(89.87, 52.43, 117.84°)
OKLaboklab(90.41% -0.068 0.1122)
OKLCHoklch(90.41% 0.131 121.2)
XYZxyz(61.2358, 76.0193, 34.3642)
Luminance0.7602 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2ED87 #A287ED
analogous
#EDD587 #D2ED87 #9FED87
triadic
#D2ED87 #87D2ED #ED87D2
tetradic
#D2ED87 #87EDD5 #A287ED #ED879F
square
#D2ED87 #87EDD5 #A287ED #ED879F
split-complementary
#D2ED87 #879FED #D587ED
monochromatic
#A8D921 #BEE552 #D2ED87 #E6F5BC #F5FBE4

Accessibility & contrast

On white

1.30
#D2ED87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.20
#D2ED87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2ED87
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2ED87#FFFFFF#000000##000000
##D2ED871.001.3016.2016.20
#FFFFFF1.301.0021.0021.00
#00000016.2021.001.001.00
##00000016.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E27F
Deuteranopia (green-blind)
#F5E28C
Tritanopia (blue-blind)
#DAE4D5
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #d2ed87;
/* rgb */ color: rgb(210, 237, 135);
/* oklch */ color: oklch(90.4% 0.131 121.2);
Tailwind
colors: {
  custom: {
    50: '#e1f2ab',
    500: '#d2ed87',
    950: '#000000',
  },
}
SCSS
$custom: #d2ed87;
$custom-light: #e1f2ab;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ed87",
  "rgb": {
    "r": 210,
    "g": 237,
    "b": 135
  },
  "hsl": {
    "h": 75.882,
    "s": 73.913,
    "l": 72.941
  },
  "oklch": {
    "l": 0.90411,
    "c": 0.13124,
    "h": 121.2
  },
  "luminance": 0.76019
}

Semantic roles & 50–950 ramp

primary
#D2ED87
secondary
#7051C8
accent
#0FD644
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151710
muted
#848581

Preview Lab

Preview with #D2ED87

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

Preview Lab → · Contrast checker → · Palette generator →

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