#D1E87F#D1E87F

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

Color values

HEX#D1E87F
RGBrgb(209, 232, 127)
HSLhsl(73, 70%, 70%)
HSVhsv(73, 45%, 91%)
CMYKcmyk(9.9%, 0%, 45.3%, 9%)
CIE-LABlab(88.35, -23.32, 48.32)
CIE-LCHlch(88.35, 53.65, 115.76°)
OKLaboklab(89.15% -0.0653 0.1162)
OKLCHoklch(89.15% 0.133 119.3)
XYZxyz(58.9822, 72.8011, 31.0193)
Luminance0.7280 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1E87F #967FE8
analogous
#E8CA7F #D1E87F #9CE87F
triadic
#D1E87F #7FD1E8 #E87FD1
tetradic
#D1E87F #7FE8CA #967FE8 #E87F9C
square
#D1E87F #7FE8CA #967FE8 #E87F9C
split-complementary
#D1E87F #7F9CE8 #CA7FE8
monochromatic
#A5C924 #BEDF4B #D1E87F #E4F1B3 #F6FAE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1E87F#FFFFFF#000000##000000
##D1E87F1.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)
#F4DE76
Deuteranopia (green-blind)
#F1DE85
Tritanopia (blue-blind)
#DADECF
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d1e87f;
/* rgb */ color: rgb(209, 232, 127);
/* oklch */ color: oklch(89.1% 0.133 119.3);
Tailwind
colors: {
  custom: {
    50: '#e1efa6',
    500: '#d1e87f',
    950: '#000000',
  },
}
SCSS
$custom: #d1e87f;
$custom-light: #e1efa6;
$custom-dark: #000000;
JSON
{
  "hex": "#d1e87f",
  "rgb": {
    "r": 209,
    "g": 232,
    "b": 127
  },
  "hsl": {
    "h": 73.143,
    "s": 69.536,
    "l": 70.392
  },
  "oklch": {
    "l": 0.89146,
    "c": 0.13323,
    "h": 119.3
  },
  "luminance": 0.72801
}

Semantic roles & 50–950 ramp

primary
#D1E87F
secondary
#644BC1
accent
#14D23E
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #D1E87F

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

Preview Lab → · Contrast checker → · Palette generator →

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