#D8F571#D8F571

#D8F571 is a very light, vivid yellow-green. Relative luminance 0.811; OKLCH L 92.3% C 0.161 H 120.0°. Best body text is #000000 at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#D8F571
RGBrgb(216, 245, 113)
HSLhsl(73, 87%, 70%)
HSVhsv(73, 54%, 96%)
CMYKcmyk(11.8%, 0%, 53.9%, 3.9%)
CIE-LABlab(92.17, -28.13, 59.47)
CIE-LCHlch(92.17, 65.79, 115.32°)
OKLaboklab(92.28% -0.0804 0.1394)
OKLCHoklch(92.28% 0.161 120)
XYZxyz(63.9526, 81.0962, 27.9036)
Luminance0.8110 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F571 #8E71F5
analogous
#F5D071 #D8F571 #96F571
triadic
#D8F571 #71D8F5 #F571D8
tetradic
#D8F571 #71F5D0 #8E71F5 #F57196
square
#D8F571 #71F5D0 #8E71F5 #F57196
split-complementary
#D8F571 #7196F5 #D071F5
monochromatic
#AFDC10 #C8F138 #D8F571 #E8F9AA #F7FDE2

Accessibility & contrast

On white

1.22
#D8F571 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.22
#D8F571 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F571
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F571#FFFFFF#000000##000000
##D8F5711.001.2217.2217.22
#FFFFFF1.221.0021.0021.00
#00000017.2221.001.001.00
##00000017.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE964
Deuteranopia (green-blind)
#FFE979
Tritanopia (blue-blind)
#E2EAD8
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #d8f571;
/* rgb */ color: rgb(216, 245, 113);
/* oklch */ color: oklch(92.3% 0.161 120.0);
Tailwind
colors: {
  custom: {
    50: '#e6f89d',
    500: '#d8f571',
    950: '#000000',
  },
}
SCSS
$custom: #d8f571;
$custom-light: #e6f89d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f571",
  "rgb": {
    "r": 216,
    "g": 245,
    "b": 113
  },
  "hsl": {
    "h": 73.182,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.92281,
    "c": 0.16088,
    "h": 120
  },
  "luminance": 0.81096
}

Semantic roles & 50–950 ramp

primary
#D8F571
secondary
#5C3BCF
accent
#02E334
background
#FEFFFC
surface
#FDFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D8F571

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

Preview Lab → · Contrast checker → · Palette generator →

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