#D2E787#D2E787

#D2E787 is a very light, vivid yellow-green. Relative luminance 0.726; OKLCH L 89.1% C 0.123 H 119.1°. Best body text is #000000 at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#D2E787
RGBrgb(210, 231, 135)
HSLhsl(73, 67%, 72%)
HSVhsv(73, 42%, 91%)
CMYKcmyk(9.1%, 0%, 41.6%, 9.4%)
CIE-LABlab(88.26, -21.60, 44.34)
CIE-LCHlch(88.26, 49.32, 115.97°)
OKLaboklab(89.12% -0.0598 0.1077)
OKLCHoklch(89.12% 0.123 119.1)
XYZxyz(59.5276, 72.6030, 33.7948)
Luminance0.7260 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E787 #9C87E7
analogous
#E7CC87 #D2E787 #A2E787
triadic
#D2E787 #87D2E7 #E787D2
tetradic
#D2E787 #87E7CC #9C87E7 #E787A2
square
#D2E787 #87E7CC #9C87E7 #E787A2
split-complementary
#D2E787 #87A2E7 #CC87E7
monochromatic
#A7CB29 #BFDD54 #D2E787 #E5F1BA #F5FAE5

Accessibility & contrast

On white

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

On black

15.52
#D2E787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E787
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E787#FFFFFF#000000##000000
##D2E7871.001.3515.5215.52
#FFFFFF1.351.0021.0021.00
#00000015.5221.001.001.00
##00000015.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DD7F
Deuteranopia (green-blind)
#F0DE8C
Tritanopia (blue-blind)
#DADED0
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #d2e787;
/* rgb */ color: rgb(210, 231, 135);
/* oklch */ color: oklch(89.1% 0.123 119.1);
Tailwind
colors: {
  custom: {
    50: '#e1eeab',
    500: '#d2e787',
    950: '#000000',
  },
}
SCSS
$custom: #d2e787;
$custom-light: #e1eeab;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e787",
  "rgb": {
    "r": 210,
    "g": 231,
    "b": 135
  },
  "hsl": {
    "h": 73.125,
    "s": 66.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.89122,
    "c": 0.12319,
    "h": 119.1
  },
  "luminance": 0.72603
}

Semantic roles & 50–950 ramp

primary
#D2E787
secondary
#6A52C0
accent
#17CF3F
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151610
muted
#848581

Preview Lab

Preview with #D2E787

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

Preview Lab → · Contrast checker → · Palette generator →

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