#D1FC78#D1FC78

#D1FC78 is a very light, vivid yellow-green. Relative luminance 0.845; OKLCH L 93.4% C 0.166 H 124.5°. Best body text is #000000 at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#D1FC78
RGBrgb(209, 252, 120)
HSLhsl(80, 96%, 73%)
HSVhsv(80, 52%, 99%)
CMYKcmyk(17.1%, 0%, 52.4%, 1.2%)
CIE-LABlab(93.68, -33.39, 57.98)
CIE-LCHlch(93.68, 66.91, 119.94°)
OKLaboklab(93.4% -0.0941 0.1369)
OKLCHoklch(93.4% 0.166 124.5)
XYZxyz(64.4952, 84.5317, 30.6841)
Luminance0.8453 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1FC78 #A378FC
analogous
#FCE578 #D1FC78 #8FFC78
triadic
#D1FC78 #78D1FC #FC78D1
tetradic
#D1FC78 #78FCE5 #A378FC #FC788F
square
#D1FC78 #78FCE5 #A378FC #FC788F
split-complementary
#D1FC78 #788FFC #E578FC
monochromatic
#A6F405 #BDFB3C #D1FC78 #E5FDB4 #F5FEE1

Accessibility & contrast

On white

1.17
#D1FC78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.91
#D1FC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1FC78
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1FC78#FFFFFF#000000##000000
##D1FC781.001.1717.9117.91
#FFFFFF1.171.0021.0021.00
#00000017.9121.001.001.00
##00000017.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE6B
Deuteranopia (green-blind)
#FFEC80
Tritanopia (blue-blind)
#D9F2DE
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #d1fc78;
/* rgb */ color: rgb(209, 252, 120);
/* oklch */ color: oklch(93.4% 0.166 124.5);
Tailwind
colors: {
  custom: {
    50: '#e1fda2',
    500: '#d1fc78',
    950: '#000000',
  },
}
SCSS
$custom: #d1fc78;
$custom-light: #e1fda2;
$custom-dark: #000000;
JSON
{
  "hex": "#d1fc78",
  "rgb": {
    "r": 209,
    "g": 252,
    "b": 120
  },
  "hsl": {
    "h": 79.545,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.93399,
    "c": 0.16611,
    "h": 124.5
  },
  "luminance": 0.84532
}

Semantic roles & 50–950 ramp

primary
#D1FC78
secondary
#713FD9
accent
#00E64B
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D1FC78

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

Preview Lab → · Contrast checker → · Palette generator →

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