#D1FA78#D1FA78

#D1FA78 is a very light, vivid yellow-green. Relative luminance 0.833; OKLCH L 93.0% C 0.164 H 124.1°. Best body text is #000000 at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#D1FA78
RGBrgb(209, 250, 120)
HSLhsl(79, 93%, 73%)
HSVhsv(79, 52%, 98%)
CMYKcmyk(16.4%, 0%, 52%, 2%)
CIE-LABlab(93.14, -32.47, 57.34)
CIE-LCHlch(93.14, 65.90, 119.52°)
OKLaboklab(92.96% -0.0916 0.1355)
OKLCHoklch(92.96% 0.164 124.1)
XYZxyz(63.8704, 83.2822, 30.4758)
Luminance0.8328 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1FA78 #A178FA
analogous
#FAE278 #D1FA78 #90FA78
triadic
#D1FA78 #78D1FA #FA78D1
tetradic
#D1FA78 #78FAE2 #A178FA #FA7890
square
#D1FA78 #78FAE2 #A178FA #FA7890
split-complementary
#D1FA78 #7890FA #E278FA
monochromatic
#A6EF09 #BDF83D #D1FA78 #E5FCB3 #F5FEE1

Accessibility & contrast

On white

1.19
#D1FA78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.66
#D1FA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1FA78
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1FA78#FFFFFF#000000##000000
##D1FA781.001.1917.6617.66
#FFFFFF1.191.0021.0021.00
#00000017.6621.001.001.00
##00000017.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6C
Deuteranopia (green-blind)
#FFEB80
Tritanopia (blue-blind)
#D9F0DD
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d1fa78;
/* rgb */ color: rgb(209, 250, 120);
/* oklch */ color: oklch(93.0% 0.164 124.1);
Tailwind
colors: {
  custom: {
    50: '#e1fca2',
    500: '#d1fa78',
    950: '#000000',
  },
}
SCSS
$custom: #d1fa78;
$custom-light: #e1fca2;
$custom-dark: #000000;
JSON
{
  "hex": "#d1fa78",
  "rgb": {
    "r": 209,
    "g": 250,
    "b": 120
  },
  "hsl": {
    "h": 78.923,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.92962,
    "c": 0.16352,
    "h": 124.1
  },
  "luminance": 0.83283
}

Semantic roles & 50–950 ramp

primary
#D1FA78
secondary
#6F40D6
accent
#00E648
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D1FA78

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

Preview Lab → · Contrast checker → · Palette generator →

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