#DEFCA8#DEFCA8

#DEFCA8 is a very light, moderate yellow-green. Relative luminance 0.880; OKLCH L 95.0% C 0.112 H 124.5°. Best body text is #000000 at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#DEFCA8
RGBrgb(222, 252, 168)
HSLhsl(81, 93%, 82%)
HSVhsv(81, 33%, 99%)
CMYKcmyk(11.9%, 0%, 33.3%, 1.2%)
CIE-LABlab(95.15, -23.30, 37.11)
CIE-LCHlch(95.15, 43.82, 122.13°)
OKLaboklab(95% -0.0633 0.0922)
OKLCHoklch(95% 0.112 124.5)
XYZxyz(72.0018, 87.9772, 50.2262)
Luminance0.8798 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFCA8 #C6A8FC
analogous
#FCF0A8 #DEFCA8 #B4FCA8
triadic
#DEFCA8 #A8DEFC #FCA8DE
tetradic
#DEFCA8 #A8FCF0 #C6A8FC #FCA8B4
square
#DEFCA8 #A8FCF0 #C6A8FC #FCA8B4
split-complementary
#DEFCA8 #A8B4FC #F0A8FC
monochromatic
#B1F832 #C8FA6D #DEFCA8 #F4FEE1 #F4FEE1

Accessibility & contrast

On white

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

On black

18.60
#DEFCA8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFCA8
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFCA8#FFFFFF#000000##000000
##DEFCA81.001.1318.6018.60
#FFFFFF1.131.0021.0021.00
#00000018.6021.001.001.00
##00000018.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF2A2
Deuteranopia (green-blind)
#FFF1AC
Tritanopia (blue-blind)
#E4F4E7
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #defca8;
/* rgb */ color: rgb(222, 252, 168);
/* oklch */ color: oklch(95.0% 0.112 124.5);
Tailwind
colors: {
  custom: {
    50: '#e9fdc2',
    500: '#defca8',
    950: '#000000',
  },
}
SCSS
$custom: #defca8;
$custom-light: #e9fdc2;
$custom-dark: #000000;
JSON
{
  "hex": "#defca8",
  "rgb": {
    "r": 222,
    "g": 252,
    "b": 168
  },
  "hsl": {
    "h": 81.429,
    "s": 93.333,
    "l": 82.353
  },
  "oklch": {
    "l": 0.94998,
    "c": 0.11185,
    "h": 124.5
  },
  "luminance": 0.87978
}

Semantic roles & 50–950 ramp

primary
#DEFCA8
secondary
#9369DF
accent
#00E652
background
#FEFFFD
surface
#FDFFF9
border
#D5D7D2
text
#161712
muted
#848582

Preview Lab

Preview with #DEFCA8

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

Preview Lab → · Contrast checker → · Palette generator →

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