#DEFBB2#DEFBB2

#DEFBB2 is a very light, moderate yellow-green. Relative luminance 0.877; OKLCH L 95.0% C 0.099 H 125.8°. Best body text is #000000 at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#DEFBB2
RGBrgb(222, 251, 178)
HSLhsl(84, 90%, 84%)
HSVhsv(84, 29%, 98%)
CMYKcmyk(11.6%, 0%, 29.1%, 1.6%)
CIE-LABlab(95.05, -21.49, 31.97)
CIE-LCHlch(95.05, 38.53, 123.91°)
OKLaboklab(94.97% -0.0579 0.0803)
OKLCHoklch(94.97% 0.099 125.8)
XYZxyz(72.6563, 87.7379, 55.2182)
Luminance0.8774 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFBB2 #CFB2FB
analogous
#FBF4B2 #DEFBB2 #BAFBB2
triadic
#DEFBB2 #B2DEFB #FBB2DE
tetradic
#DEFBB2 #B2FBF4 #CFB2FB #FBB2BA
square
#DEFBB2 #B2FBF4 #CFB2FB #FBB2BA
split-complementary
#DEFBB2 #B2BAFB #F4B2FB
monochromatic
#ACF53E #C5F878 #DEFBB2 #F3FDE2 #F3FDE2

Accessibility & contrast

On white

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

On black

18.55
#DEFBB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFBB2
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFBB2#FFFFFF#000000##000000
##DEFBB21.001.1318.5518.55
#FFFFFF1.131.0021.0021.00
#00000018.5521.001.001.00
##00000018.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF2AD
Deuteranopia (green-blind)
#FFF0B5
Tritanopia (blue-blind)
#E2F4E8
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #defbb2;
/* rgb */ color: rgb(222, 251, 178);
/* oklch */ color: oklch(95.0% 0.099 125.8);
Tailwind
colors: {
  custom: {
    50: '#e9fcc9',
    500: '#defbb2',
    950: '#000000',
  },
}
SCSS
$custom: #defbb2;
$custom-light: #e9fcc9;
$custom-dark: #000000;
JSON
{
  "hex": "#defbb2",
  "rgb": {
    "r": 222,
    "g": 251,
    "b": 178
  },
  "hsl": {
    "h": 83.836,
    "s": 90.123,
    "l": 84.118
  },
  "oklch": {
    "l": 0.94971,
    "c": 0.09902,
    "h": 125.8
  },
  "luminance": 0.87738
}

Semantic roles & 50–950 ramp

primary
#DEFBB2
secondary
#9D72DF
accent
#00E65B
background
#FEFFFD
surface
#FDFFF9
border
#D5D7D2
text
#161713
muted
#848582

Preview Lab

Preview with #DEFBB2

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

Preview Lab → · Contrast checker → · Palette generator →

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