#D2E87A#D2E87A

#D2E87A is a very light, vivid yellow-green. Relative luminance 0.728; OKLCH L 89.2% C 0.138 H 118.6°. Best body text is #000000 at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#D2E87A
RGBrgb(210, 232, 122)
HSLhsl(72, 71%, 69%)
HSVhsv(72, 47%, 91%)
CMYKcmyk(9.5%, 0%, 47.4%, 9%)
CIE-LABlab(88.36, -23.44, 50.73)
CIE-LCHlch(88.36, 55.88, 114.80°)
OKLaboklab(89.15% -0.0661 0.1211)
OKLCHoklch(89.15% 0.138 118.6)
XYZxyz(58.9483, 72.8204, 29.3589)
Luminance0.7282 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E87A #907AE8
analogous
#E8C77A #D2E87A #9BE87A
triadic
#D2E87A #7AD2E8 #E87AD2
tetradic
#D2E87A #7AE8C7 #907AE8 #E87A9B
square
#D2E87A #7AE8C7 #907AE8 #E87A9B
split-complementary
#D2E87A #7A9BE8 #C77AE8
monochromatic
#A5C522 #C0DF46 #D2E87A #E4F1AE #F5FAE2

Accessibility & contrast

On white

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

On black

15.56
#D2E87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E87A
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E87A#FFFFFF#000000##000000
##D2E87A1.001.3515.5615.56
#FFFFFF1.351.0021.0021.00
#00000015.5621.001.001.00
##00000015.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DE70
Deuteranopia (green-blind)
#F2DE80
Tritanopia (blue-blind)
#DCDECE
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d2e87a;
/* rgb */ color: rgb(210, 232, 122);
/* oklch */ color: oklch(89.2% 0.138 118.6);
Tailwind
colors: {
  custom: {
    50: '#e1efa3',
    500: '#d2e87a',
    950: '#000000',
  },
}
SCSS
$custom: #d2e87a;
$custom-light: #e1efa3;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e87a",
  "rgb": {
    "r": 210,
    "g": 232,
    "b": 122
  },
  "hsl": {
    "h": 72,
    "s": 70.513,
    "l": 69.412
  },
  "oklch": {
    "l": 0.89151,
    "c": 0.13797,
    "h": 118.6
  },
  "luminance": 0.7282
}

Semantic roles & 50–950 ramp

primary
#D2E87A
secondary
#5E46C0
accent
#13D339
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #D2E87A

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

Preview Lab → · Contrast checker → · Palette generator →

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