#DEFBAB#DEFBAB

#DEFBAB is a very light, moderate yellow-green. Relative luminance 0.875; OKLCH L 94.8% C 0.107 H 124.6°. Best body text is #000000 at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#DEFBAB
RGBrgb(222, 251, 171)
HSLhsl(82, 91%, 83%)
HSVhsv(82, 32%, 98%)
CMYKcmyk(11.6%, 0%, 31.9%, 1.6%)
CIE-LABlab(94.93, -22.43, 35.33)
CIE-LCHlch(94.93, 41.85, 122.42°)
OKLaboklab(94.84% -0.0608 0.0881)
OKLCHoklch(94.84% 0.107 124.6)
XYZxyz(71.9713, 87.4639, 51.6108)
Luminance0.8746 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFBAB #C8ABFB
analogous
#FBF0AB #DEFBAB #B6FBAB
triadic
#DEFBAB #ABDEFB #FBABDE
tetradic
#DEFBAB #ABFBF0 #C8ABFB #FBABB6
square
#DEFBAB #ABFBF0 #C8ABFB #FBABB6
split-complementary
#DEFBAB #ABB6FB #F0ABFB
monochromatic
#B0F536 #C7F871 #DEFBAB #F4FEE2 #F4FEE2

Accessibility & contrast

On white

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

On black

18.49
#DEFBAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFBAB
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFBAB#FFFFFF#000000##000000
##DEFBAB1.001.1418.4918.49
#FFFFFF1.141.0021.0021.00
#00000018.4921.001.001.00
##00000018.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF1A6
Deuteranopia (green-blind)
#FFF0AF
Tritanopia (blue-blind)
#E3F4E6
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #defbab;
/* rgb */ color: rgb(222, 251, 171);
/* oklch */ color: oklch(94.8% 0.107 124.6);
Tailwind
colors: {
  custom: {
    50: '#e9fcc4',
    500: '#defbab',
    950: '#000000',
  },
}
SCSS
$custom: #defbab;
$custom-light: #e9fcc4;
$custom-dark: #000000;
JSON
{
  "hex": "#defbab",
  "rgb": {
    "r": 222,
    "g": 251,
    "b": 171
  },
  "hsl": {
    "h": 81.75,
    "s": 90.909,
    "l": 82.745
  },
  "oklch": {
    "l": 0.9484,
    "c": 0.10702,
    "h": 124.6
  },
  "luminance": 0.87464
}

Semantic roles & 50–950 ramp

primary
#DEFBAB
secondary
#956CDE
accent
#00E653
background
#FEFFFD
surface
#FDFFF9
border
#D5D7D2
text
#161713
muted
#848582

Preview Lab

Preview with #DEFBAB

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

Preview Lab → · Contrast checker → · Palette generator →

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