#D1F371#D1F371

#D1F371 is a very light, vivid yellow-green. Relative luminance 0.788; OKLCH L 91.4% C 0.161 H 121.8°. Best body text is #000000 at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#D1F371
RGBrgb(209, 243, 113)
HSLhsl(76, 84%, 70%)
HSVhsv(76, 53%, 95%)
CMYKcmyk(14%, 0%, 53.5%, 4.7%)
CIE-LABlab(91.17, -29.87, 58.18)
CIE-LCHlch(91.17, 65.40, 117.17°)
OKLaboklab(91.35% -0.0849 0.1367)
OKLCHoklch(91.35% 0.161 121.8)
XYZxyz(61.3261, 78.8487, 27.6081)
Luminance0.7885 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1F371 #9371F3
analogous
#F3D471 #D1F371 #90F371
triadic
#D1F371 #71D1F3 #F371D1
tetradic
#D1F371 #71F3D4 #9371F3 #F37190
square
#D1F371 #71F3D4 #9371F3 #F37190
split-complementary
#D1F371 #7190F3 #D471F3
monochromatic
#A4D712 #BFEE39 #D1F371 #E3F8A9 #F6FDE2

Accessibility & contrast

On white

1.25
#D1F371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.77
#D1F371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1F371
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1F371#FFFFFF#000000##000000
##D1F3711.001.2516.7716.77
#FFFFFF1.251.0021.0021.00
#00000016.7721.001.001.00
##00000016.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE664
Deuteranopia (green-blind)
#FBE679
Tritanopia (blue-blind)
#DAE8D6
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #d1f371;
/* rgb */ color: rgb(209, 243, 113);
/* oklch */ color: oklch(91.4% 0.161 121.8);
Tailwind
colors: {
  custom: {
    50: '#e1f79d',
    500: '#d1f371',
    950: '#000000',
  },
}
SCSS
$custom: #d1f371;
$custom-light: #e1f79d;
$custom-dark: #000000;
JSON
{
  "hex": "#d1f371",
  "rgb": {
    "r": 209,
    "g": 243,
    "b": 113
  },
  "hsl": {
    "h": 75.692,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.91352,
    "c": 0.16089,
    "h": 121.8
  },
  "luminance": 0.78849
}

Semantic roles & 50–950 ramp

primary
#D1F371
secondary
#613BCD
accent
#05E13E
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D1F371

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

Preview Lab → · Contrast checker → · Palette generator →

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