#D2E87F#D2E87F

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

Color values

HEX#D2E87F
RGBrgb(210, 232, 127)
HSLhsl(73, 70%, 70%)
HSVhsv(73, 45%, 91%)
CMYKcmyk(9.5%, 0%, 45.3%, 9%)
CIE-LABlab(88.42, -22.94, 48.42)
CIE-LCHlch(88.42, 53.58, 115.35°)
OKLaboklab(89.22% -0.0642 0.1164)
OKLCHoklch(89.22% 0.133 118.9)
XYZxyz(59.2661, 72.9475, 31.0326)
Luminance0.7295 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E87F #957FE8
analogous
#E8C97F #D2E87F #9EE87F
triadic
#D2E87F #7FD2E8 #E87FD2
tetradic
#D2E87F #7FE8C9 #957FE8 #E87F9E
square
#D2E87F #7FE8C9 #957FE8 #E87F9E
split-complementary
#D2E87F #7F9EE8 #C97FE8
monochromatic
#A6C924 #C0DF4B #D2E87F #E4F1B3 #F6FAE5

Accessibility & contrast

On white

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

On black

15.59
#D2E87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E87F
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E87F#FFFFFF#000000##000000
##D2E87F1.001.3515.5915.59
#FFFFFF1.351.0021.0021.00
#00000015.5921.001.001.00
##00000015.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2e87f;
/* rgb */ color: rgb(210, 232, 127);
/* oklch */ color: oklch(89.2% 0.133 118.9);
Tailwind
colors: {
  custom: {
    50: '#e1efa6',
    500: '#d2e87f',
    950: '#000000',
  },
}
SCSS
$custom: #d2e87f;
$custom-light: #e1efa6;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e87f",
  "rgb": {
    "r": 210,
    "g": 232,
    "b": 127
  },
  "hsl": {
    "h": 72.571,
    "s": 69.536,
    "l": 70.392
  },
  "oklch": {
    "l": 0.8922,
    "c": 0.13291,
    "h": 118.9
  },
  "luminance": 0.72947
}

Semantic roles & 50–950 ramp

primary
#D2E87F
secondary
#634BC1
accent
#14D23C
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #D2E87F

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

Preview Lab → · Contrast checker → · Palette generator →

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