#D1F579#D1F579

#D1F579 is a very light, vivid yellow-green. Relative luminance 0.802; OKLCH L 91.9% C 0.156 H 122.9°. Best body text is #000000 at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#D1F579
RGBrgb(209, 245, 121)
HSLhsl(77, 86%, 72%)
HSVhsv(77, 51%, 96%)
CMYKcmyk(14.7%, 0%, 50.6%, 3.9%)
CIE-LABlab(91.79, -30.07, 55.30)
CIE-LCHlch(91.79, 62.94, 118.53°)
OKLaboklab(91.88% -0.0848 0.1311)
OKLCHoklch(91.88% 0.156 122.9)
XYZxyz(62.3983, 80.2404, 30.2861)
Luminance0.8024 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1F579 #9D79F5
analogous
#F5DB79 #D1F579 #93F579
triadic
#D1F579 #79D1F5 #F579D1
tetradic
#D1F579 #79F5DB #9D79F5 #F57993
square
#D1F579 #79F5DB #9D79F5 #F57993
split-complementary
#D1F579 #7993F5 #DB79F5
monochromatic
#A6E311 #BDF140 #D1F579 #E5F9B2 #F5FDE3

Accessibility & contrast

On white

1.23
#D1F579 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.05
#D1F579 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1F579
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1F579#FFFFFF#000000##000000
##D1F5791.001.2317.0517.05
#FFFFFF1.231.0021.0021.00
#00000017.0521.001.001.00
##00000017.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE86E
Deuteranopia (green-blind)
#FCE780
Tritanopia (blue-blind)
#D9EBD9
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #d1f579;
/* rgb */ color: rgb(209, 245, 121);
/* oklch */ color: oklch(91.9% 0.156 122.9);
Tailwind
colors: {
  custom: {
    50: '#e1f8a2',
    500: '#d1f579',
    950: '#000000',
  },
}
SCSS
$custom: #d1f579;
$custom-light: #e1f8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d1f579",
  "rgb": {
    "r": 209,
    "g": 245,
    "b": 121
  },
  "hsl": {
    "h": 77.419,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.91883,
    "c": 0.1561,
    "h": 122.9
  },
  "luminance": 0.80241
}

Semantic roles & 50–950 ramp

primary
#D1F579
secondary
#6B42D0
accent
#03E344
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D1F579

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

Preview Lab → · Contrast checker → · Palette generator →

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