#D8E571#D8E571

#D8E571 is a very light, vivid yellow. Relative luminance 0.718; OKLCH L 88.8% C 0.141 H 114.6°. Best body text is #000000 at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#D8E571
RGBrgb(216, 229, 113)
HSLhsl(67, 69%, 67%)
HSVhsv(67, 51%, 90%)
CMYKcmyk(5.7%, 0%, 50.7%, 10.2%)
CIE-LABlab(87.89, -20.50, 54.47)
CIE-LCHlch(87.89, 58.20, 110.62°)
OKLaboklab(88.85% -0.0589 0.1285)
OKLCHoklch(88.85% 0.141 114.6)
XYZxyz(59.3198, 71.8307, 26.3594)
Luminance0.7183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E571 #7E71E5
analogous
#E5B871 #D8E571 #9EE571
triadic
#D8E571 #71D8E5 #E571D8
tetradic
#D8E571 #71E5B8 #7E71E5 #E5719E
square
#D8E571 #71E5B8 #7E71E5 #E5719E
split-complementary
#D8E571 #719EE5 #B871E5
monochromatic
#A9BA22 #CADC3D #D8E571 #E6EEA5 #F4F8D8

Accessibility & contrast

On white

1.37
#D8E571 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.37
#D8E571 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8E571
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8E571#FFFFFF#000000##000000
##D8E5711.001.3715.3715.37
#FFFFFF1.371.0021.0021.00
#00000015.3721.001.001.00
##00000015.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DB66
Deuteranopia (green-blind)
#F2DE77
Tritanopia (blue-blind)
#E4DACB
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #d8e571;
/* rgb */ color: rgb(216, 229, 113);
/* oklch */ color: oklch(88.8% 0.141 114.6);
Tailwind
colors: {
  custom: {
    50: '#e6ed9d',
    500: '#d8e571',
    950: '#000000',
  },
}
SCSS
$custom: #d8e571;
$custom-light: #e6ed9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e571",
  "rgb": {
    "r": 216,
    "g": 229,
    "b": 113
  },
  "hsl": {
    "h": 66.724,
    "s": 69.048,
    "l": 67.059
  },
  "oklch": {
    "l": 0.88846,
    "c": 0.14137,
    "h": 114.6
  },
  "luminance": 0.7183
}

Semantic roles & 50–950 ramp

primary
#D8E571
secondary
#4E41BA
accent
#14D12A
background
#FEFEFC
surface
#FDFDF5
border
#D5D5CF
text
#16160E
muted
#84847F

Preview Lab

Preview with #D8E571

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

Preview Lab → · Contrast checker → · Palette generator →

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