#DEF0CB#DEF0CB

#DEF0CB is a very light, muted yellow-green. Relative luminance 0.822; OKLCH L 93.2% C 0.053 H 128.6°. Best body text is #000000 at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#DEF0CB
RGBrgb(222, 240, 203)
HSLhsl(89, 55%, 87%)
HSVhsv(89, 15%, 94%)
CMYKcmyk(7.5%, 0%, 15.4%, 5.9%)
CIE-LABlab(92.65, -12.38, 15.91)
CIE-LCHlch(92.65, 20.15, 127.89°)
OKLaboklab(93.21% -0.0328 0.0411)
OKLCHoklch(93.21% 0.053 128.6)
XYZxyz(72.0621, 82.1612, 68.5506)
Luminance0.8216 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF0CB #DDCBF0
analogous
#F0F0CB #DEF0CB #CCF0CB
triadic
#DEF0CB #CBDEF0 #F0CBDE
tetradic
#DEF0CB #CBF0F0 #DDCBF0 #F0CBCC
square
#DEF0CB #CBF0F0 #DDCBF0 #F0CBCC
split-complementary
#DEF0CB #CBCCF0 #F0CBF0
monochromatic
#A2D56C #C0E29C #DEF0CB #F0F8E7 #F0F8E7

Accessibility & contrast

On white

1.20
#DEF0CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.43
#DEF0CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF0CB
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF0CB#FFFFFF#000000##000000
##DEF0CB1.001.2017.4317.43
#FFFFFF1.201.0021.0021.00
#00000017.4321.001.001.00
##00000017.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4EBC9
Deuteranopia (green-blind)
#F1EACD
Tritanopia (blue-blind)
#E0ECE5
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #def0cb;
/* rgb */ color: rgb(222, 240, 203);
/* oklch */ color: oklch(93.2% 0.053 128.6);
Tailwind
colors: {
  custom: {
    50: '#e8f5da',
    500: '#def0cb',
    950: '#000000',
  },
}
SCSS
$custom: #def0cb;
$custom-light: #e8f5da;
$custom-dark: #000000;
JSON
{
  "hex": "#def0cb",
  "rgb": {
    "r": 222,
    "g": 240,
    "b": 203
  },
  "hsl": {
    "h": 89.189,
    "s": 55.224,
    "l": 86.863
  },
  "oklch": {
    "l": 0.93212,
    "c": 0.05253,
    "h": 128.6
  },
  "luminance": 0.82162
}

Semantic roles & 50–950 ramp

primary
#DEF0CB
secondary
#AF91CE
accent
#23C371
background
#FEFFFE
surface
#FCFEFB
border
#D5D6D4
text
#161715
muted
#848584

Preview Lab

Preview with #DEF0CB

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

Preview Lab → · Contrast checker → · Palette generator →

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