#D8FA96#D8FA96

#D8FA96 is a very light, vivid yellow-green. Relative luminance 0.852; OKLCH L 93.9% C 0.131 H 124.2°. Best body text is #000000 at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#D8FA96
RGBrgb(216, 250, 150)
HSLhsl(80, 91%, 78%)
HSVhsv(80, 40%, 98%)
CMYKcmyk(13.6%, 0%, 40%, 2%)
CIE-LABlab(93.96, -26.74, 44.33)
CIE-LCHlch(93.96, 51.77, 121.10°)
OKLaboklab(93.85% -0.0736 0.1083)
OKLCHoklch(93.85% 0.131 124.2)
XYZxyz(68.0092, 85.1718, 41.7051)
Luminance0.8517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8FA96 #B896FA
analogous
#FAEA96 #D8FA96 #A6FA96
triadic
#D8FA96 #96D8FA #FA96D8
tetradic
#D8FA96 #96FAEA #B896FA #FA96A6
square
#D8FA96 #96FAEA #B896FA #FA96A6
split-complementary
#D8FA96 #96A6FA #EA96FA
monochromatic
#ADF421 #C2F75C #D8FA96 #EEFDD0 #F4FEE2

Accessibility & contrast

On white

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

On black

18.03
#D8FA96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8FA96
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8FA96#FFFFFF#000000##000000
##D8FA961.001.1618.0318.03
#FFFFFF1.161.0021.0021.00
#00000018.0321.001.001.00
##00000018.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF8E
Deuteranopia (green-blind)
#FFED9B
Tritanopia (blue-blind)
#DFF1E2
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #d8fa96;
/* rgb */ color: rgb(216, 250, 150);
/* oklch */ color: oklch(93.9% 0.131 124.2);
Tailwind
colors: {
  custom: {
    50: '#e5fcb6',
    500: '#d8fa96',
    950: '#000000',
  },
}
SCSS
$custom: #d8fa96;
$custom-light: #e5fcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#d8fa96",
  "rgb": {
    "r": 216,
    "g": 250,
    "b": 150
  },
  "hsl": {
    "h": 80.4,
    "s": 90.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.93854,
    "c": 0.131,
    "h": 124.2
  },
  "luminance": 0.85172
}

Semantic roles & 50–950 ramp

primary
#D8FA96
secondary
#865ADA
accent
#00E64E
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #D8FA96

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

Preview Lab → · Contrast checker → · Palette generator →

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