#D1FB8A#D1FB8A

#D1FB8A is a very light, vivid yellow-green. Relative luminance 0.844; OKLCH L 93.4% C 0.148 H 125.8°. Best body text is #000000 at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#D1FB8A
RGBrgb(209, 251, 138)
HSLhsl(82, 93%, 76%)
HSVhsv(82, 45%, 98%)
CMYKcmyk(16.7%, 0%, 45%, 1.6%)
CIE-LABlab(93.62, -31.12, 49.58)
CIE-LCHlch(93.62, 58.53, 122.11°)
OKLaboklab(93.42% -0.0864 0.1196)
OKLCHoklch(93.42% 0.148 125.8)
XYZxyz(65.3788, 84.3840, 36.8832)
Luminance0.8438 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1FB8A #B48AFB
analogous
#FBED8A #D1FB8A #99FB8A
triadic
#D1FB8A #8AD1FB #FB8AD1
tetradic
#D1FB8A #8AFBED #B48AFB #FB8A99
square
#D1FB8A #8AFBED #B48AFB #FB8A99
split-complementary
#D1FB8A #8A99FB #ED8AFB
monochromatic
#A2F714 #BAF94F #D1FB8A #E8FDC5 #F3FEE1

Accessibility & contrast

On white

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

On black

17.88
#D1FB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1FB8A
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1FB8A#FFFFFF#000000##000000
##D1FB8A1.001.1717.8817.88
#FFFFFF1.171.0021.0021.00
#00000017.8821.001.001.00
##00000017.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE81
Deuteranopia (green-blind)
#FFEC90
Tritanopia (blue-blind)
#D7F2E0
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #d1fb8a;
/* rgb */ color: rgb(209, 251, 138);
/* oklch */ color: oklch(93.4% 0.148 125.8);
Tailwind
colors: {
  custom: {
    50: '#e1fcae',
    500: '#d1fb8a',
    950: '#000000',
  },
}
SCSS
$custom: #d1fb8a;
$custom-light: #e1fcae;
$custom-dark: #000000;
JSON
{
  "hex": "#d1fb8a",
  "rgb": {
    "r": 209,
    "g": 251,
    "b": 138
  },
  "hsl": {
    "h": 82.301,
    "s": 93.388,
    "l": 76.275
  },
  "oklch": {
    "l": 0.93415,
    "c": 0.14757,
    "h": 125.8
  },
  "luminance": 0.84385
}

Semantic roles & 50–950 ramp

primary
#D1FB8A
secondary
#834FDA
accent
#00E655
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #D1FB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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