#D2E87D#D2E87D

#D2E87D is a very light, vivid yellow-green. Relative luminance 0.729; OKLCH L 89.2% C 0.135 H 118.8°. Best body text is #000000 at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#D2E87D
RGBrgb(210, 232, 125)
HSLhsl(72, 70%, 70%)
HSVhsv(72, 46%, 91%)
CMYKcmyk(9.5%, 0%, 46.1%, 9%)
CIE-LABlab(88.40, -23.14, 49.35)
CIE-LCHlch(88.40, 54.50, 115.12°)
OKLaboklab(89.19% -0.065 0.1183)
OKLCHoklch(89.19% 0.135 118.8)
XYZxyz(59.1371, 72.8959, 30.3530)
Luminance0.7290 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E87D #937DE8
analogous
#E8C87D #D2E87D #9DE87D
triadic
#D2E87D #7DD2E8 #E87DD2
tetradic
#D2E87D #7DE8C8 #937DE8 #E87D9D
square
#D2E87D #7DE8C8 #937DE8 #E87D9D
split-complementary
#D2E87D #7D9DE8 #C87DE8
monochromatic
#A6C723 #C0DF49 #D2E87D #E4F1B1 #F6FAE5

Accessibility & contrast

On white

1.35
#D2E87D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.58
#D2E87D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E87D
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E87D#FFFFFF#000000##000000
##D2E87D1.001.3515.5815.58
#FFFFFF1.351.0021.0021.00
#00000015.5821.001.001.00
##00000015.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DE74
Deuteranopia (green-blind)
#F2DE83
Tritanopia (blue-blind)
#DBDECF
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d2e87d;
/* rgb */ color: rgb(210, 232, 125);
/* oklch */ color: oklch(89.2% 0.135 118.8);
Tailwind
colors: {
  custom: {
    50: '#e1efa5',
    500: '#d2e87d',
    950: '#000000',
  },
}
SCSS
$custom: #d2e87d;
$custom-light: #e1efa5;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e87d",
  "rgb": {
    "r": 210,
    "g": 232,
    "b": 125
  },
  "hsl": {
    "h": 72.336,
    "s": 69.935,
    "l": 70
  },
  "oklch": {
    "l": 0.89192,
    "c": 0.13496,
    "h": 118.8
  },
  "luminance": 0.72896
}

Semantic roles & 50–950 ramp

primary
#D2E87D
secondary
#6149C1
accent
#14D23B
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #D2E87D

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

Preview Lab → · Contrast checker → · Palette generator →

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