#D8FAC2#D8FAC2

#D8FAC2 is a very light, moderate yellow-green. Relative luminance 0.869; OKLCH L 94.7% C 0.082 H 133.3°. Best body text is #000000 at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#D8FAC2
RGBrgb(216, 250, 194)
HSLhsl(96, 85%, 87%)
HSVhsv(96, 22%, 98%)
CMYKcmyk(13.6%, 0%, 22.4%, 2%)
CIE-LABlab(94.68, -20.77, 23.30)
CIE-LCHlch(94.68, 31.22, 131.71°)
OKLaboklab(94.67% -0.056 0.0594)
OKLCHoklch(94.67% 0.082 133.3)
XYZxyz(72.2403, 86.8643, 63.9890)
Luminance0.8687 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8FAC2 #E4C2FA
analogous
#F4FAC2 #D8FAC2 #C2FAC8
triadic
#D8FAC2 #C2D8FA #FAC2D8
tetradic
#D8FAC2 #C2F4FA #E4C2FA #FAC8C2
square
#D8FAC2 #C2F4FA #E4C2FA #FAC8C2
split-complementary
#D8FAC2 #C8C2FA #FAC2F4
monochromatic
#90F151 #B4F589 #D8FAC2 #EDFDE3 #EDFDE3

Accessibility & contrast

On white

1.14
#D8FAC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.37
#D8FAC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8FAC2
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8FAC2#FFFFFF#000000##000000
##D8FAC21.001.1418.3718.37
#FFFFFF1.141.0021.0021.00
#00000018.3721.001.001.00
##00000018.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF2BF
Deuteranopia (green-blind)
#FAEFC5
Tritanopia (blue-blind)
#D9F5EB
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #d8fac2;
/* rgb */ color: rgb(216, 250, 194);
/* oklch */ color: oklch(94.7% 0.082 133.3);
Tailwind
colors: {
  custom: {
    50: '#e4fcd4',
    500: '#d8fac2',
    950: '#000000',
  },
}
SCSS
$custom: #d8fac2;
$custom-light: #e4fcd4;
$custom-dark: #000000;
JSON
{
  "hex": "#d8fac2",
  "rgb": {
    "r": 216,
    "g": 250,
    "b": 194
  },
  "hsl": {
    "h": 96.429,
    "s": 84.848,
    "l": 87.059
  },
  "oklch": {
    "l": 0.9467,
    "c": 0.08166,
    "h": 133.3
  },
  "luminance": 0.86865
}

Semantic roles & 50–950 ramp

primary
#D8FAC2
secondary
#BA81DF
accent
#04E18A
background
#FEFFFE
surface
#FCFFFB
border
#D5D7D4
text
#151714
muted
#848583

Preview Lab

Preview with #D8FAC2

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

Preview Lab → · Contrast checker → · Palette generator →

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