#D1E87D#D1E87D

#D1E87D is a very light, vivid yellow-green. Relative luminance 0.727; OKLCH L 89.1% C 0.135 H 119.2°. Best body text is #000000 at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#D1E87D
RGBrgb(209, 232, 125)
HSLhsl(73, 70%, 70%)
HSVhsv(73, 46%, 91%)
CMYKcmyk(9.9%, 0%, 46.1%, 9%)
CIE-LABlab(88.33, -23.52, 49.24)
CIE-LCHlch(88.33, 54.57, 115.53°)
OKLaboklab(89.12% -0.066 0.1181)
OKLCHoklch(89.12% 0.135 119.2)
XYZxyz(58.8532, 72.7495, 30.3397)
Luminance0.7275 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1E87D #947DE8
analogous
#E8C97D #D1E87D #9CE87D
triadic
#D1E87D #7DD1E8 #E87DD1
tetradic
#D1E87D #7DE8C9 #947DE8 #E87D9C
square
#D1E87D #7DE8C9 #947DE8 #E87D9C
split-complementary
#D1E87D #7D9CE8 #C97DE8
monochromatic
#A4C723 #BFDF49 #D1E87D #E3F1B1 #F6FAE5

Accessibility & contrast

On white

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

On black

15.55
#D1E87D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1E87D
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1E87D#FFFFFF#000000##000000
##D1E87D1.001.3515.5515.55
#FFFFFF1.351.0021.0021.00
#00000015.5521.001.001.00
##00000015.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DE74
Deuteranopia (green-blind)
#F1DE83
Tritanopia (blue-blind)
#DADECF
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d1e87d;
/* rgb */ color: rgb(209, 232, 125);
/* oklch */ color: oklch(89.1% 0.135 119.2);
Tailwind
colors: {
  custom: {
    50: '#e1efa5',
    500: '#d1e87d',
    950: '#000000',
  },
}
SCSS
$custom: #d1e87d;
$custom-light: #e1efa5;
$custom-dark: #000000;
JSON
{
  "hex": "#d1e87d",
  "rgb": {
    "r": 209,
    "g": 232,
    "b": 125
  },
  "hsl": {
    "h": 72.897,
    "s": 69.935,
    "l": 70
  },
  "oklch": {
    "l": 0.89119,
    "c": 0.13526,
    "h": 119.2
  },
  "luminance": 0.72749
}

Semantic roles & 50–950 ramp

primary
#D1E87D
secondary
#6249C1
accent
#14D23C
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #D1E87D

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

Preview Lab → · Contrast checker → · Palette generator →

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