#D8FFAF#D8FFAF

#D8FFAF is a very light, moderate yellow-green. Relative luminance 0.892; OKLCH L 95.3% C 0.111 H 129.4°. Best body text is #000000 at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#D8FFAF
RGBrgb(216, 255, 175)
HSLhsl(89, 100%, 84%)
HSVhsv(89, 31%, 100%)
CMYKcmyk(15.3%, 0%, 31.4%, 0%)
CIE-LABlab(95.67, -25.93, 34.24)
CIE-LCHlch(95.67, 42.95, 127.14°)
OKLaboklab(95.35% -0.0704 0.0856)
OKLCHoklch(95.35% 0.111 129.4)
XYZxyz(71.8156, 89.2132, 53.9855)
Luminance0.8921 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8FFAF #D6AFFF
analogous
#FFFEAF #D8FFAF #B0FFAF
triadic
#D8FFAF #AFD8FF #FFAFD8
tetradic
#D8FFAF #AFFFFE #D6AFFF #FFAFB0
square
#D8FFAF #AFFFFE #D6AFFF #FFAFB0
split-complementary
#D8FFAF #AFB0FF #FEAFFF
monochromatic
#9CFF35 #BAFF72 #D8FFAF #F0FFE0 #F0FFE0

Accessibility & contrast

On white

1.11
#D8FFAF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.84
#D8FFAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8FFAF
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8FFAF#FFFFFF#000000##000000
##D8FFAF1.001.1118.8418.84
#FFFFFF1.111.0021.0021.00
#00000018.8421.001.001.00
##00000018.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF4AA
Deuteranopia (green-blind)
#FFF2B3
Tritanopia (blue-blind)
#DBF8EA
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #d8ffaf;
/* rgb */ color: rgb(216, 255, 175);
/* oklch */ color: oklch(95.3% 0.111 129.4);
Tailwind
colors: {
  custom: {
    50: '#e5ffc7',
    500: '#d8ffaf',
    950: '#000000',
  },
}
SCSS
$custom: #d8ffaf;
$custom-light: #e5ffc7;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ffaf",
  "rgb": {
    "r": 216,
    "g": 255,
    "b": 175
  },
  "hsl": {
    "h": 89.25,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.9535,
    "c": 0.11085,
    "h": 129.4
  },
  "luminance": 0.89214
}

Semantic roles & 50–950 ramp

primary
#D8FFAF
secondary
#A86DE5
accent
#00E670
background
#FEFFFD
surface
#FCFFF9
border
#D5D7D2
text
#161813
muted
#848682

Preview Lab

Preview with #D8FFAF

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

Preview Lab → · Contrast checker → · Palette generator →

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