#DEFAB2#DEFAB2

#DEFAB2 is a very light, moderate yellow-green. Relative luminance 0.871; OKLCH L 94.8% C 0.098 H 125.5°. Best body text is #000000 at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#DEFAB2
RGBrgb(222, 250, 178)
HSLhsl(83, 88%, 84%)
HSVhsv(83, 29%, 98%)
CMYKcmyk(11.2%, 0%, 28.8%, 2%)
CIE-LABlab(94.79, -21.01, 31.62)
CIE-LCHlch(94.79, 37.96, 123.60°)
OKLaboklab(94.76% -0.0566 0.0794)
OKLCHoklch(94.76% 0.098 125.5)
XYZxyz(72.3447, 87.1148, 55.1144)
Luminance0.8711 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFAB2 #CEB2FA
analogous
#FAF2B2 #DEFAB2 #BAFAB2
triadic
#DEFAB2 #B2DEFA #FAB2DE
tetradic
#DEFAB2 #B2FAF2 #CEB2FA #FAB2BA
square
#DEFAB2 #B2FAF2 #CEB2FA #FAB2BA
split-complementary
#DEFAB2 #B2BAFA #F2B2FA
monochromatic
#ADF33F #C5F679 #DEFAB2 #F3FDE2 #F3FDE2

Accessibility & contrast

On white

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

On black

18.42
#DEFAB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFAB2
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFAB2#FFFFFF#000000##000000
##DEFAB21.001.1418.4218.42
#FFFFFF1.141.0021.0021.00
#00000018.4221.001.001.00
##00000018.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF1AD
Deuteranopia (green-blind)
#FEF0B5
Tritanopia (blue-blind)
#E2F3E7
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #defab2;
/* rgb */ color: rgb(222, 250, 178);
/* oklch */ color: oklch(94.8% 0.098 125.5);
Tailwind
colors: {
  custom: {
    50: '#e9fcc9',
    500: '#defab2',
    950: '#000000',
  },
}
SCSS
$custom: #defab2;
$custom-light: #e9fcc9;
$custom-dark: #000000;
JSON
{
  "hex": "#defab2",
  "rgb": {
    "r": 222,
    "g": 250,
    "b": 178
  },
  "hsl": {
    "h": 83.333,
    "s": 87.805,
    "l": 83.922
  },
  "oklch": {
    "l": 0.9476,
    "c": 0.09754,
    "h": 125.5
  },
  "luminance": 0.87115
}

Semantic roles & 50–950 ramp

primary
#DEFAB2
secondary
#9C73DE
accent
#01E459
background
#FEFFFD
surface
#FDFFF9
border
#D5D7D2
text
#161713
muted
#848582

Preview Lab

Preview with #DEFAB2

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

Preview Lab → · Contrast checker → · Palette generator →

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