#D8F771#D8F771

#D8F771 is a very light, vivid yellow-green. Relative luminance 0.823; OKLCH L 92.7% C 0.163 H 120.5°. Best body text is #000000 at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#D8F771
RGBrgb(216, 247, 113)
HSLhsl(74, 89%, 71%)
HSVhsv(74, 54%, 97%)
CMYKcmyk(12.6%, 0%, 54.3%, 3.1%)
CIE-LABlab(92.71, -29.07, 60.09)
CIE-LCHlch(92.71, 66.75, 115.81°)
OKLaboklab(92.71% -0.083 0.1407)
OKLCHoklch(92.71% 0.163 120.5)
XYZxyz(64.5609, 82.3129, 28.1064)
Luminance0.8231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F771 #9071F7
analogous
#F7D371 #D8F771 #95F771
triadic
#D8F771 #71D8F7 #F771D8
tetradic
#D8F771 #71F7D3 #9071F7 #F77195
square
#D8F771 #71F7D3 #9071F7 #F77195
split-complementary
#D8F771 #7195F7 #D371F7
monochromatic
#B0E10D #C8F437 #D8F771 #E8FAAB #F7FDE2

Accessibility & contrast

On white

1.20
#D8F771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.46
#D8F771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F771
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F771#FFFFFF#000000##000000
##D8F7711.001.2017.4617.46
#FFFFFF1.201.0021.0021.00
#00000017.4621.001.001.00
##00000017.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA64
Deuteranopia (green-blind)
#FFEA79
Tritanopia (blue-blind)
#E2ECD9
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #d8f771;
/* rgb */ color: rgb(216, 247, 113);
/* oklch */ color: oklch(92.7% 0.163 120.5);
Tailwind
colors: {
  custom: {
    50: '#e6f99e',
    500: '#d8f771',
    950: '#000000',
  },
}
SCSS
$custom: #d8f771;
$custom-light: #e6f99e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f771",
  "rgb": {
    "r": 216,
    "g": 247,
    "b": 113
  },
  "hsl": {
    "h": 73.881,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.92713,
    "c": 0.16337,
    "h": 120.5
  },
  "luminance": 0.82313
}

Semantic roles & 50–950 ramp

primary
#D8F771
secondary
#5D3AD2
accent
#00E635
background
#FEFFFC
surface
#FDFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D8F771

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

Preview Lab → · Contrast checker → · Palette generator →

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