#D9F771#D9F771

#D9F771 is a very light, vivid yellow-green. Relative luminance 0.825; OKLCH L 92.8% C 0.163 H 120.2°. Best body text is #000000 at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#D9F771
RGBrgb(217, 247, 113)
HSLhsl(73, 89%, 71%)
HSVhsv(73, 54%, 97%)
CMYKcmyk(12.1%, 0%, 54.3%, 3.1%)
CIE-LABlab(92.78, -28.69, 60.19)
CIE-LCHlch(92.78, 66.67, 115.48°)
OKLaboklab(92.78% -0.082 0.1409)
OKLCHoklch(92.78% 0.163 120.2)
XYZxyz(64.8573, 82.4657, 28.1203)
Luminance0.8246 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F771 #8F71F7
analogous
#F7D271 #D9F771 #96F771
triadic
#D9F771 #71D9F7 #F771D9
tetradic
#D9F771 #71F7D2 #8F71F7 #F77196
square
#D9F771 #71F7D2 #8F71F7 #F77196
split-complementary
#D9F771 #7196F7 #D271F7
monochromatic
#B1E10D #C9F437 #D9F771 #E9FAAB #F7FDE2

Accessibility & contrast

On white

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

On black

17.49
#D9F771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9F771
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9F771#FFFFFF#000000##000000
##D9F7711.001.2017.4917.49
#FFFFFF1.201.0021.0021.00
#00000017.4921.001.001.00
##00000017.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB64
Deuteranopia (green-blind)
#FFEB79
Tritanopia (blue-blind)
#E3ECD9
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #d9f771;
/* rgb */ color: rgb(217, 247, 113);
/* oklch */ color: oklch(92.8% 0.163 120.2);
Tailwind
colors: {
  custom: {
    50: '#e7f99e',
    500: '#d9f771',
    950: '#000000',
  },
}
SCSS
$custom: #d9f771;
$custom-light: #e7f99e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f771",
  "rgb": {
    "r": 217,
    "g": 247,
    "b": 113
  },
  "hsl": {
    "h": 73.433,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.92784,
    "c": 0.16302,
    "h": 120.2
  },
  "luminance": 0.82465
}

Semantic roles & 50–950 ramp

primary
#D9F771
secondary
#5C3AD2
accent
#00E633
background
#FEFFFC
surface
#FDFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D9F771

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

Preview Lab → · Contrast checker → · Palette generator →

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