#D1FA7B#D1FA7B

#D1FA7B is a very light, vivid yellow-green. Relative luminance 0.834; OKLCH L 93.0% C 0.161 H 124.3°. Best body text is #000000 at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#D1FA7B
RGBrgb(209, 250, 123)
HSLhsl(79, 93%, 73%)
HSVhsv(79, 51%, 98%)
CMYKcmyk(16.4%, 0%, 50.8%, 2%)
CIE-LABlab(93.17, -32.19, 56.02)
CIE-LCHlch(93.17, 64.61, 119.88°)
OKLaboklab(93% -0.0905 0.1328)
OKLCHoklch(93% 0.161 124.3)
XYZxyz(64.0553, 83.3562, 31.4498)
Luminance0.8336 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1FA7B #A47BFA
analogous
#FAE37B #D1FA7B #91FA7B
triadic
#D1FA7B #7BD1FA #FA7BD1
tetradic
#D1FA7B #7BFAE3 #A47BFA #FA7B91
square
#D1FA7B #7BFAE3 #A47BFA #FA7B91
split-complementary
#D1FA7B #7B91FA #E37BFA
monochromatic
#A6F109 #BCF840 #D1FA7B #E6FCB6 #F5FEE2

Accessibility & contrast

On white

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

On black

17.67
#D1FA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1FA7B
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1FA7B#FFFFFF#000000##000000
##D1FA7B1.001.1917.6717.67
#FFFFFF1.191.0021.0021.00
#00000017.6721.001.001.00
##00000017.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1fa7b;
/* rgb */ color: rgb(209, 250, 123);
/* oklch */ color: oklch(93.0% 0.161 124.3);
Tailwind
colors: {
  custom: {
    50: '#e1fca4',
    500: '#d1fa7b',
    950: '#000000',
  },
}
SCSS
$custom: #d1fa7b;
$custom-light: #e1fca4;
$custom-dark: #000000;
JSON
{
  "hex": "#d1fa7b",
  "rgb": {
    "r": 209,
    "g": 250,
    "b": 123
  },
  "hsl": {
    "h": 79.37,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.92999,
    "c": 0.16075,
    "h": 124.3
  },
  "luminance": 0.83357
}

Semantic roles & 50–950 ramp

primary
#D1FA7B
secondary
#7242D7
accent
#00E64A
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D1FA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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