#D2E87B#D2E87B

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

Color values

HEX#D2E87B
RGBrgb(210, 232, 123)
HSLhsl(72, 70%, 70%)
HSVhsv(72, 47%, 91%)
CMYKcmyk(9.5%, 0%, 47%, 9%)
CIE-LABlab(88.37, -23.34, 50.27)
CIE-LCHlch(88.37, 55.42, 114.91°)
OKLaboklab(89.17% -0.0657 0.1202)
OKLCHoklch(89.17% 0.137 118.7)
XYZxyz(59.0106, 72.8453, 29.6869)
Luminance0.7285 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E87B #917BE8
analogous
#E8C87B #D2E87B #9CE87B
triadic
#D2E87B #7BD2E8 #E87BD2
tetradic
#D2E87B #7BE8C8 #917BE8 #E87B9C
square
#D2E87B #7BE8C8 #917BE8 #E87B9C
split-complementary
#D2E87B #7B9CE8 #C87BE8
monochromatic
#A5C623 #C0DF47 #D2E87B #E4F1AF #F6FAE3

Accessibility & contrast

On white

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

On black

15.57
#D2E87B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E87B
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E87B#FFFFFF#000000##000000
##D2E87B1.001.3515.5715.57
#FFFFFF1.351.0021.0021.00
#00000015.5721.001.001.00
##00000015.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2e87b;
/* rgb */ color: rgb(210, 232, 123);
/* oklch */ color: oklch(89.2% 0.137 118.7);
Tailwind
colors: {
  custom: {
    50: '#e1efa3',
    500: '#d2e87b',
    950: '#000000',
  },
}
SCSS
$custom: #d2e87b;
$custom-light: #e1efa3;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e87b",
  "rgb": {
    "r": 210,
    "g": 232,
    "b": 123
  },
  "hsl": {
    "h": 72.11,
    "s": 70.323,
    "l": 69.608
  },
  "oklch": {
    "l": 0.89165,
    "c": 0.13697,
    "h": 118.7
  },
  "luminance": 0.72845
}

Semantic roles & 50–950 ramp

primary
#D2E87B
secondary
#5F47C0
accent
#13D23A
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #D2E87B

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

Preview Lab → · Contrast checker → · Palette generator →

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