#DEFBAD#DEFBAD

#DEFBAD is a very light, moderate yellow-green. Relative luminance 0.875; OKLCH L 94.9% C 0.105 H 124.9°. Best body text is #000000 at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#DEFBAD
RGBrgb(222, 251, 173)
HSLhsl(82, 91%, 83%)
HSVhsv(82, 31%, 98%)
CMYKcmyk(11.6%, 0%, 31.1%, 1.6%)
CIE-LABlab(94.97, -22.17, 34.37)
CIE-LCHlch(94.97, 40.90, 122.82°)
OKLaboklab(94.88% -0.06 0.0859)
OKLCHoklch(94.88% 0.105 124.9)
XYZxyz(72.1634, 87.5408, 52.6223)
Luminance0.8754 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFBAD #CAADFB
analogous
#FBF1AD #DEFBAD #B7FBAD
triadic
#DEFBAD #ADDEFB #FBADDE
tetradic
#DEFBAD #ADFBF1 #CAADFB #FBADB7
square
#DEFBAD #ADFBF1 #CAADFB #FBADB7
split-complementary
#DEFBAD #ADB7FB #F1ADFB
monochromatic
#AFF538 #C7F873 #DEFBAD #F3FEE2 #F3FEE2

Accessibility & contrast

On white

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

On black

18.51
#DEFBAD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFBAD
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFBAD#FFFFFF#000000##000000
##DEFBAD1.001.1318.5118.51
#FFFFFF1.131.0021.0021.00
#00000018.5121.001.001.00
##00000018.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF1A8
Deuteranopia (green-blind)
#FFF0B1
Tritanopia (blue-blind)
#E3F4E7
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #defbad;
/* rgb */ color: rgb(222, 251, 173);
/* oklch */ color: oklch(94.9% 0.105 124.9);
Tailwind
colors: {
  custom: {
    50: '#e9fcc6',
    500: '#defbad',
    950: '#000000',
  },
}
SCSS
$custom: #defbad;
$custom-light: #e9fcc6;
$custom-dark: #000000;
JSON
{
  "hex": "#defbad",
  "rgb": {
    "r": 222,
    "g": 251,
    "b": 173
  },
  "hsl": {
    "h": 82.308,
    "s": 90.698,
    "l": 83.137
  },
  "oklch": {
    "l": 0.94877,
    "c": 0.10475,
    "h": 124.9
  },
  "luminance": 0.87541
}

Semantic roles & 50–950 ramp

primary
#DEFBAD
secondary
#986EDF
accent
#00E655
background
#FEFFFD
surface
#FDFFF9
border
#D5D7D2
text
#161713
muted
#848582

Preview Lab

Preview with #DEFBAD

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

Preview Lab → · Contrast checker → · Palette generator →

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