#DEFCB2#DEFCB2

#DEFCB2 is a very light, moderate yellow-green. Relative luminance 0.884; OKLCH L 95.2% C 0.100 H 126.2°. Best body text is #000000 at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#DEFCB2
RGBrgb(222, 252, 178)
HSLhsl(84, 93%, 84%)
HSVhsv(84, 29%, 99%)
CMYKcmyk(11.9%, 0%, 29.4%, 1.2%)
CIE-LABlab(95.31, -21.97, 32.33)
CIE-LCHlch(95.31, 39.09, 124.20°)
OKLaboklab(95.18% -0.0593 0.0811)
OKLCHoklch(95.18% 0.1 126.2)
XYZxyz(72.9695, 88.3643, 55.3226)
Luminance0.8837 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFCB2 #D0B2FC
analogous
#FCF5B2 #DEFCB2 #B9FCB2
triadic
#DEFCB2 #B2DEFC #FCB2DE
tetradic
#DEFCB2 #B2FCF5 #D0B2FC #FCB2B9
square
#DEFCB2 #B2FCF5 #D0B2FC #FCB2B9
split-complementary
#DEFCB2 #B2B9FC #F5B2FC
monochromatic
#ACF73C #C5FA77 #DEFCB2 #F2FEE2 #F2FEE2

Accessibility & contrast

On white

1.12
#DEFCB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.67
#DEFCB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFCB2
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFCB2#FFFFFF#000000##000000
##DEFCB21.001.1218.6718.67
#FFFFFF1.121.0021.0021.00
#00000018.6721.001.001.00
##00000018.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF3AD
Deuteranopia (green-blind)
#FFF1B5
Tritanopia (blue-blind)
#E2F5E9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #defcb2;
/* rgb */ color: rgb(222, 252, 178);
/* oklch */ color: oklch(95.2% 0.100 126.2);
Tailwind
colors: {
  custom: {
    50: '#e9fdc9',
    500: '#defcb2',
    950: '#000000',
  },
}
SCSS
$custom: #defcb2;
$custom-light: #e9fdc9;
$custom-dark: #000000;
JSON
{
  "hex": "#defcb2",
  "rgb": {
    "r": 222,
    "g": 252,
    "b": 178
  },
  "hsl": {
    "h": 84.324,
    "s": 92.5,
    "l": 84.314
  },
  "oklch": {
    "l": 0.95181,
    "c": 0.10049,
    "h": 126.2
  },
  "luminance": 0.88365
}

Semantic roles & 50–950 ramp

primary
#DEFCB2
secondary
#9F71E1
accent
#00E65D
background
#FEFFFD
surface
#FDFFF9
border
#D5D7D2
text
#161713
muted
#848582

Preview Lab

Preview with #DEFCB2

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

Preview Lab → · Contrast checker → · Palette generator →

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