#D8FFA2#D8FFA2

#D8FFA2 is a very light, vivid yellow-green. Relative luminance 0.887; OKLCH L 95.1% C 0.125 H 127.1°. Best body text is #000000 at 18.75:1 contrast (WCAG AA passes).

Color values

HEX#D8FFA2
RGBrgb(216, 255, 162)
HSLhsl(85, 100%, 82%)
HSVhsv(85, 36%, 100%)
CMYKcmyk(15.3%, 0%, 36.5%, 0%)
CIE-LABlab(95.47, -27.64, 40.41)
CIE-LCHlch(95.47, 48.96, 124.37°)
OKLaboklab(95.12% -0.0756 0.0998)
OKLCHoklch(95.12% 0.125 127.1)
XYZxyz(70.5997, 88.7269, 47.5820)
Luminance0.8873 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8FFA2 #C9A2FF
analogous
#FFF7A2 #D8FFA2 #AAFFA2
triadic
#D8FFA2 #A2D8FF #FFA2D8
tetradic
#D8FFA2 #A2FFF7 #C9A2FF #FFA2AA
square
#D8FFA2 #A2FFF7 #C9A2FF #FFA2AA
split-complementary
#D8FFA2 #A2AAFF #F7A2FF
monochromatic
#A5FF28 #BEFF65 #D8FFA2 #F2FFDF #F2FFE0

Accessibility & contrast

On white

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

On black

18.75
#D8FFA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8FFA2
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8FFA2#FFFFFF#000000##000000
##D8FFA21.001.1218.7518.75
#FFFFFF1.121.0021.0021.00
#00000018.7521.001.001.00
##00000018.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF49B
Deuteranopia (green-blind)
#FFF1A7
Tritanopia (blue-blind)
#DDF7E8
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #d8ffa2;
/* rgb */ color: rgb(216, 255, 162);
/* oklch */ color: oklch(95.1% 0.125 127.1);
Tailwind
colors: {
  custom: {
    50: '#e5ffbe',
    500: '#d8ffa2',
    950: '#000000',
  },
}
SCSS
$custom: #d8ffa2;
$custom-light: #e5ffbe;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ffa2",
  "rgb": {
    "r": 216,
    "g": 255,
    "b": 162
  },
  "hsl": {
    "h": 85.161,
    "s": 100,
    "l": 81.765
  },
  "oklch": {
    "l": 0.95121,
    "c": 0.12516,
    "h": 127.1
  },
  "luminance": 0.88728
}

Semantic roles & 50–950 ramp

primary
#D8FFA2
secondary
#9862E3
accent
#00E660
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#161812
muted
#848682

Preview Lab

Preview with #D8FFA2

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

Preview Lab → · Contrast checker → · Palette generator →

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