#D1F771#D1F771

#D1F771 is a very light, vivid yellow-green. Relative luminance 0.813; OKLCH L 92.2% C 0.166 H 122.9°. Best body text is #000000 at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#D1F771
RGBrgb(209, 247, 113)
HSLhsl(77, 89%, 71%)
HSVhsv(77, 54%, 97%)
CMYKcmyk(15.4%, 0%, 54.3%, 3.1%)
CIE-LABlab(92.25, -31.72, 59.44)
CIE-LCHlch(92.25, 67.37, 118.09°)
OKLaboklab(92.23% -0.0901 0.1394)
OKLCHoklch(92.23% 0.166 122.9)
XYZxyz(62.5362, 81.2689, 28.0115)
Luminance0.8127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1F771 #9771F7
analogous
#F7DA71 #D1F771 #8EF771
triadic
#D1F771 #71D1F7 #F771D1
tetradic
#D1F771 #71F7DA #9771F7 #F7718E
square
#D1F771 #71F7DA #9771F7 #F7718E
split-complementary
#D1F771 #718EF7 #DA71F7
monochromatic
#A5E10D #BEF437 #D1F771 #E4FAAB #F6FDE2

Accessibility & contrast

On white

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

On black

17.25
#D1F771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1F771
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1F771#FFFFFF#000000##000000
##D1F7711.001.2217.2517.25
#FFFFFF1.221.0021.0021.00
#00000017.2521.001.001.00
##00000017.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1f771;
/* rgb */ color: rgb(209, 247, 113);
/* oklch */ color: oklch(92.2% 0.166 122.9);
Tailwind
colors: {
  custom: {
    50: '#e1fa9d',
    500: '#d1f771',
    950: '#000000',
  },
}
SCSS
$custom: #d1f771;
$custom-light: #e1fa9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d1f771",
  "rgb": {
    "r": 209,
    "g": 247,
    "b": 113
  },
  "hsl": {
    "h": 77.015,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.92225,
    "c": 0.16596,
    "h": 122.9
  },
  "luminance": 0.81269
}

Semantic roles & 50–950 ramp

primary
#D1F771
secondary
#653AD2
accent
#00E641
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D1F771

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

Preview Lab → · Contrast checker → · Palette generator →

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