#D2EA87#D2EA87

#D2EA87 is a very light, vivid yellow-green. Relative luminance 0.743; OKLCH L 89.8% C 0.127 H 120.2°. Best body text is #000000 at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#D2EA87
RGBrgb(210, 234, 135)
HSLhsl(75, 70%, 72%)
HSVhsv(75, 42%, 92%)
CMYKcmyk(10.3%, 0%, 42.3%, 8.2%)
CIE-LABlab(89.06, -23.05, 45.35)
CIE-LCHlch(89.06, 50.87, 116.94°)
OKLaboklab(89.77% -0.064 0.11)
OKLCHoklch(89.77% 0.127 120.2)
XYZxyz(60.3745, 74.2967, 34.0771)
Luminance0.7430 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2EA87 #9F87EA
analogous
#EAD087 #D2EA87 #A1EA87
triadic
#D2EA87 #87D2EA #EA87D2
tetradic
#D2EA87 #87EAD0 #9F87EA #EA87A1
square
#D2EA87 #87EAD0 #9F87EA #EA87A1
split-complementary
#D2EA87 #87A1EA #D087EA
monochromatic
#A8D225 #BEE153 #D2EA87 #E6F3BB #F5FAE5

Accessibility & contrast

On white

1.32
#D2EA87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.86
#D2EA87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2EA87
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2EA87#FFFFFF#000000##000000
##D2EA871.001.3215.8615.86
#FFFFFF1.321.0021.0021.00
#00000015.8621.001.001.00
##00000015.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E07F
Deuteranopia (green-blind)
#F2E08C
Tritanopia (blue-blind)
#DAE1D2
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d2ea87;
/* rgb */ color: rgb(210, 234, 135);
/* oklch */ color: oklch(89.8% 0.127 120.2);
Tailwind
colors: {
  custom: {
    50: '#e1f0ab',
    500: '#d2ea87',
    950: '#000000',
  },
}
SCSS
$custom: #d2ea87;
$custom-light: #e1f0ab;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ea87",
  "rgb": {
    "r": 210,
    "g": 234,
    "b": 135
  },
  "hsl": {
    "h": 74.545,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.89765,
    "c": 0.1272,
    "h": 120.2
  },
  "luminance": 0.74297
}

Semantic roles & 50–950 ramp

primary
#D2EA87
secondary
#6D51C4
accent
#13D242
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151610
muted
#848581

Preview Lab

Preview with #D2EA87

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

Preview Lab → · Contrast checker → · Palette generator →

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