#D1E87A#D1E87A

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

Color values

HEX#D1E87A
RGBrgb(209, 232, 122)
HSLhsl(73, 71%, 69%)
HSVhsv(73, 47%, 91%)
CMYKcmyk(9.9%, 0%, 47.4%, 9%)
CIE-LABlab(88.29, -23.82, 50.63)
CIE-LCHlch(88.29, 55.95, 115.20°)
OKLaboklab(89.08% -0.0671 0.1209)
OKLCHoklch(89.08% 0.138 119)
XYZxyz(58.6644, 72.6740, 29.3456)
Luminance0.7267 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1E87A #917AE8
analogous
#E8C87A #D1E87A #9AE87A
triadic
#D1E87A #7AD1E8 #E87AD1
tetradic
#D1E87A #7AE8C8 #917AE8 #E87A9A
square
#D1E87A #7AE8C8 #917AE8 #E87A9A
split-complementary
#D1E87A #7A9AE8 #C87AE8
monochromatic
#A3C522 #BFDF46 #D1E87A #E3F1AE #F5FAE2

Accessibility & contrast

On white

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

On black

15.53
#D1E87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1E87A
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1E87A#FFFFFF#000000##000000
##D1E87A1.001.3515.5315.53
#FFFFFF1.351.0021.0021.00
#00000015.5321.001.001.00
##00000015.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1e87a;
/* rgb */ color: rgb(209, 232, 122);
/* oklch */ color: oklch(89.1% 0.138 119.0);
Tailwind
colors: {
  custom: {
    50: '#e1efa3',
    500: '#d1e87a',
    950: '#000000',
  },
}
SCSS
$custom: #d1e87a;
$custom-light: #e1efa3;
$custom-dark: #000000;
JSON
{
  "hex": "#d1e87a",
  "rgb": {
    "r": 209,
    "g": 232,
    "b": 122
  },
  "hsl": {
    "h": 72.545,
    "s": 70.513,
    "l": 69.412
  },
  "oklch": {
    "l": 0.89078,
    "c": 0.13828,
    "h": 119
  },
  "luminance": 0.72674
}

Semantic roles & 50–950 ramp

primary
#D1E87A
secondary
#6046C0
accent
#13D33B
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #D1E87A

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

Preview Lab → · Contrast checker → · Palette generator →

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