#D1FE7B#D1FE7B

#D1FE7B is a very light, vivid yellow-green. Relative luminance 0.859; OKLCH L 93.9% C 0.166 H 125.2°. Best body text is #000000 at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#D1FE7B
RGBrgb(209, 254, 123)
HSLhsl(81, 98%, 74%)
HSVhsv(81, 52%, 100%)
CMYKcmyk(17.7%, 0%, 51.6%, 0.4%)
CIE-LABlab(94.26, -34.02, 57.31)
CIE-LCHlch(94.26, 66.65, 120.70°)
OKLaboklab(93.87% -0.0957 0.1356)
OKLCHoklch(93.87% 0.166 125.2)
XYZxyz(65.3114, 85.8684, 31.8685)
Luminance0.8587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1FE7B #A87BFE
analogous
#FEEA7B #D1FE7B #90FE7B
triadic
#D1FE7B #7BD1FE #FE7BD1
tetradic
#D1FE7B #7BFEEA #A87BFE #FE7B90
square
#D1FE7B #7BFEEA #A87BFE #FE7B90
split-complementary
#D1FE7B #7B90FE #EA7BFE
monochromatic
#A7FD02 #BCFE3E #D1FE7B #E6FEB8 #F4FFE1

Accessibility & contrast

On white

1.16
#D1FE7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.17
#D1FE7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1FE7B
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1FE7B#FFFFFF#000000##000000
##D1FE7B1.001.1618.1718.17
#FFFFFF1.161.0021.0021.00
#00000018.1721.001.001.00
##00000018.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF06F
Deuteranopia (green-blind)
#FFEE83
Tritanopia (blue-blind)
#D8F4E0
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #d1fe7b;
/* rgb */ color: rgb(209, 254, 123);
/* oklch */ color: oklch(93.9% 0.166 125.2);
Tailwind
colors: {
  custom: {
    50: '#e1ffa4',
    500: '#d1fe7b',
    950: '#000000',
  },
}
SCSS
$custom: #d1fe7b;
$custom-light: #e1ffa4;
$custom-dark: #000000;
JSON
{
  "hex": "#d1fe7b",
  "rgb": {
    "r": 209,
    "g": 254,
    "b": 123
  },
  "hsl": {
    "h": 80.611,
    "s": 98.496,
    "l": 73.922
  },
  "oklch": {
    "l": 0.93873,
    "c": 0.16598,
    "h": 125.2
  },
  "luminance": 0.85869
}

Semantic roles & 50–950 ramp

primary
#D1FE7B
secondary
#7641DC
accent
#00E64F
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16180F
muted
#848680

Preview Lab

Preview with #D1FE7B

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

Preview Lab → · Contrast checker → · Palette generator →

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