#DEFCAB#DEFCAB

#DEFCAB is a very light, moderate yellow-green. Relative luminance 0.881; OKLCH L 95.1% C 0.108 H 124.9°. Best body text is #000000 at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#DEFCAB
RGBrgb(222, 252, 171)
HSLhsl(82, 93%, 83%)
HSVhsv(82, 32%, 99%)
CMYKcmyk(11.9%, 0%, 32.1%, 1.2%)
CIE-LABlab(95.20, -22.91, 35.68)
CIE-LCHlch(95.20, 42.40, 122.71°)
OKLaboklab(95.05% -0.0621 0.0889)
OKLCHoklch(95.05% 0.108 124.9)
XYZxyz(72.2845, 88.0903, 51.7152)
Luminance0.8809 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFCAB #C9ABFC
analogous
#FCF1AB #DEFCAB #B5FCAB
triadic
#DEFCAB #ABDEFC #FCABDE
tetradic
#DEFCAB #ABFCF1 #C9ABFC #FCABB5
square
#DEFCAB #ABFCF1 #C9ABFC #FCABB5
split-complementary
#DEFCAB #ABB5FC #F1ABFC
monochromatic
#B0F835 #C7FA70 #DEFCAB #F3FEE1 #F3FEE1

Accessibility & contrast

On white

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

On black

18.62
#DEFCAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFCAB
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFCAB#FFFFFF#000000##000000
##DEFCAB1.001.1318.6218.62
#FFFFFF1.131.0021.0021.00
#00000018.6221.001.001.00
##00000018.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF2A5
Deuteranopia (green-blind)
#FFF1AF
Tritanopia (blue-blind)
#E3F5E7
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #defcab;
/* rgb */ color: rgb(222, 252, 171);
/* oklch */ color: oklch(95.1% 0.108 124.9);
Tailwind
colors: {
  custom: {
    50: '#e9fdc4',
    500: '#defcab',
    950: '#000000',
  },
}
SCSS
$custom: #defcab;
$custom-light: #e9fdc4;
$custom-dark: #000000;
JSON
{
  "hex": "#defcab",
  "rgb": {
    "r": 222,
    "g": 252,
    "b": 171
  },
  "hsl": {
    "h": 82.222,
    "s": 93.103,
    "l": 82.941
  },
  "oklch": {
    "l": 0.95051,
    "c": 0.10847,
    "h": 124.9
  },
  "luminance": 0.88091
}

Semantic roles & 50–950 ramp

primary
#DEFCAB
secondary
#966BE0
accent
#00E655
background
#FEFFFD
surface
#FDFFF9
border
#D5D7D2
text
#161713
muted
#848582

Preview Lab

Preview with #DEFCAB

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

Preview Lab → · Contrast checker → · Palette generator →

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