#D8FFAB#D8FFAB

#D8FFAB is a very light, moderate yellow-green. Relative luminance 0.891; OKLCH L 95.3% C 0.115 H 128.6°. Best body text is #000000 at 18.81:1 contrast (WCAG AA passes).

Color values

HEX#D8FFAB
RGBrgb(216, 255, 171)
HSLhsl(88, 100%, 84%)
HSVhsv(88, 33%, 100%)
CMYKcmyk(15.3%, 0%, 32.9%, 0%)
CIE-LABlab(95.60, -26.47, 36.14)
CIE-LCHlch(95.60, 44.80, 126.22°)
OKLaboklab(95.28% -0.072 0.0901)
OKLCHoklch(95.28% 0.115 128.6)
XYZxyz(71.4285, 89.0584, 51.9470)
Luminance0.8906 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8FFAB #D2ABFF
analogous
#FFFCAB #D8FFAB #AEFFAB
triadic
#D8FFAB #ABD8FF #FFABD8
tetradic
#D8FFAB #ABFFFC #D2ABFF #FFABAE
square
#D8FFAB #ABFFFC #D2ABFF #FFABAE
split-complementary
#D8FFAB #ABAEFF #FCABFF
monochromatic
#9FFF31 #BCFF6E #D8FFAB #F1FFE0 #F1FFE0

Accessibility & contrast

On white

1.12
#D8FFAB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.81
#D8FFAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8FFAB
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8FFAB#FFFFFF#000000##000000
##D8FFAB1.001.1218.8118.81
#FFFFFF1.121.0021.0021.00
#00000018.8121.001.001.00
##00000018.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF4A5
Deuteranopia (green-blind)
#FFF2AF
Tritanopia (blue-blind)
#DCF8E9
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #d8ffab;
/* rgb */ color: rgb(216, 255, 171);
/* oklch */ color: oklch(95.3% 0.115 128.6);
Tailwind
colors: {
  custom: {
    50: '#e5ffc4',
    500: '#d8ffab',
    950: '#000000',
  },
}
SCSS
$custom: #d8ffab;
$custom-light: #e5ffc4;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ffab",
  "rgb": {
    "r": 216,
    "g": 255,
    "b": 171
  },
  "hsl": {
    "h": 87.857,
    "s": 100,
    "l": 83.529
  },
  "oklch": {
    "l": 0.95277,
    "c": 0.11529,
    "h": 128.6
  },
  "luminance": 0.89059
}

Semantic roles & 50–950 ramp

primary
#D8FFAB
secondary
#A36AE5
accent
#00E66B
background
#FEFFFD
surface
#FCFFF9
border
#D5D7D2
text
#161813
muted
#848682

Preview Lab

Preview with #D8FFAB

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

Preview Lab → · Contrast checker → · Palette generator →

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