#D8FA71#D8FA71

#D8FA71 is a very light, vivid yellow-green. Relative luminance 0.842; OKLCH L 93.4% C 0.167 H 121.3°. Best body text is #000000 at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#D8FA71
RGBrgb(216, 250, 113)
HSLhsl(75, 93%, 71%)
HSVhsv(75, 55%, 98%)
CMYKcmyk(13.6%, 0%, 54.8%, 2%)
CIE-LABlab(93.52, -30.46, 61.02)
CIE-LCHlch(93.52, 68.20, 116.53°)
OKLaboklab(93.36% -0.0869 0.1427)
OKLCHoklch(93.36% 0.167 121.3)
XYZxyz(65.4857, 84.1624, 28.4146)
Luminance0.8416 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8FA71 #9371FA
analogous
#FAD871 #D8FA71 #93FA71
triadic
#D8FA71 #71D8FA #FA71D8
tetradic
#D8FA71 #71FAD8 #9371FA #FA7193
square
#D8FA71 #71FAD8 #9371FA #FA7193
split-complementary
#D8FA71 #7193FA #D871FA
monochromatic
#B1E808 #C8F836 #D8FA71 #E8FCAC #F7FEE1

Accessibility & contrast

On white

1.18
#D8FA71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.83
#D8FA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8FA71
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8FA71#FFFFFF#000000##000000
##D8FA711.001.1817.8317.83
#FFFFFF1.181.0021.0021.00
#00000017.8321.001.001.00
##00000017.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED63
Deuteranopia (green-blind)
#FFED7A
Tritanopia (blue-blind)
#E2EFDC
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #d8fa71;
/* rgb */ color: rgb(216, 250, 113);
/* oklch */ color: oklch(93.4% 0.167 121.3);
Tailwind
colors: {
  custom: {
    50: '#e6fc9e',
    500: '#d8fa71',
    950: '#000000',
  },
}
SCSS
$custom: #d8fa71;
$custom-light: #e6fc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8fa71",
  "rgb": {
    "r": 216,
    "g": 250,
    "b": 113
  },
  "hsl": {
    "h": 74.891,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.93363,
    "c": 0.16709,
    "h": 121.3
  },
  "luminance": 0.84162
}

Semantic roles & 50–950 ramp

primary
#D8FA71
secondary
#603AD5
accent
#00E639
background
#FEFFFC
surface
#FDFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D8FA71

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

Preview Lab → · Contrast checker → · Palette generator →

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