#DEFAC8#DEFAC8

#DEFAC8 is a very light, moderate yellow-green. Relative luminance 0.881; OKLCH L 95.2% C 0.072 H 131.5°. Best body text is #000000 at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#DEFAC8
RGBrgb(222, 250, 200)
HSLhsl(94, 83%, 88%)
HSVhsv(94, 20%, 98%)
CMYKcmyk(11.2%, 0%, 20%, 2%)
CIE-LABlab(95.19, -17.78, 21.01)
CIE-LCHlch(95.19, 27.52, 130.24°)
OKLaboklab(95.22% -0.0477 0.0538)
OKLCHoklch(95.22% 0.072 131.5)
XYZxyz(74.7334, 88.0703, 67.6944)
Luminance0.8807 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFAC8 #E4C8FA
analogous
#F7FAC8 #DEFAC8 #C8FACB
triadic
#DEFAC8 #C8DEFA #FAC8DE
tetradic
#DEFAC8 #C8F7FA #E4C8FA #FACBC8
square
#DEFAC8 #C8F7FA #E4C8FA #FACBC8
split-complementary
#DEFAC8 #CBC8FA #FAC8F7
monochromatic
#9BF058 #BCF590 #DEFAC8 #EEFCE3 #EEFCE3

Accessibility & contrast

On white

1.13
#DEFAC8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.61
#DEFAC8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFAC8
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFAC8#FFFFFF#000000##000000
##DEFAC81.001.1318.6118.61
#FFFFFF1.131.0021.0021.00
#00000018.6121.001.001.00
##00000018.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF3C5
Deuteranopia (green-blind)
#FAF0CA
Tritanopia (blue-blind)
#DFF6EC
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #defac8;
/* rgb */ color: rgb(222, 250, 200);
/* oklch */ color: oklch(95.2% 0.072 131.5);
Tailwind
colors: {
  custom: {
    50: '#e8fcd8',
    500: '#defac8',
    950: '#000000',
  },
}
SCSS
$custom: #defac8;
$custom-light: #e8fcd8;
$custom-dark: #000000;
JSON
{
  "hex": "#defac8",
  "rgb": {
    "r": 222,
    "g": 250,
    "b": 200
  },
  "hsl": {
    "h": 93.6,
    "s": 83.333,
    "l": 88.235
  },
  "oklch": {
    "l": 0.95215,
    "c": 0.07189,
    "h": 131.5
  },
  "luminance": 0.88071
}

Semantic roles & 50–950 ramp

primary
#DEFAC8
secondary
#B887DF
accent
#06E080
background
#FEFFFE
surface
#FCFFFB
border
#D5D7D4
text
#161714
muted
#848583

Preview Lab

Preview with #DEFAC8

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

Preview Lab → · Contrast checker → · Palette generator →

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