#DEF0CD#DEF0CD

#DEF0CD is a very light, muted yellow-green. Relative luminance 0.823; OKLCH L 93.3% C 0.050 H 129.6°. Best body text is #000000 at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#DEF0CD
RGBrgb(222, 240, 205)
HSLhsl(91, 54%, 87%)
HSVhsv(91, 15%, 94%)
CMYKcmyk(7.5%, 0%, 14.6%, 5.9%)
CIE-LABlab(92.69, -12.05, 14.93)
CIE-LCHlch(92.69, 19.19, 128.91°)
OKLaboklab(93.26% -0.0319 0.0386)
OKLCHoklch(93.26% 0.05 129.6)
XYZxyz(72.3020, 82.2572, 69.8139)
Luminance0.8226 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF0CD #DFCDF0
analogous
#F0F0CD #DEF0CD #CDF0CE
triadic
#DEF0CD #CDDEF0 #F0CDDE
tetradic
#DEF0CD #CDF0F0 #DFCDF0 #F0CECD
square
#DEF0CD #CDF0F0 #DFCDF0 #F0CECD
split-complementary
#DEF0CD #CECDF0 #F0CDF0
monochromatic
#A0D46F #BFE29E #DEF0CD #EFF8E7 #EFF8E7

Accessibility & contrast

On white

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

On black

17.45
#DEF0CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF0CD
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF0CD#FFFFFF#000000##000000
##DEF0CD1.001.2017.4517.45
#FFFFFF1.201.0021.0021.00
#00000017.4521.001.001.00
##00000017.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4EBCB
Deuteranopia (green-blind)
#F1EACE
Tritanopia (blue-blind)
#DFEDE6
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #def0cd;
/* rgb */ color: rgb(222, 240, 205);
/* oklch */ color: oklch(93.3% 0.050 129.6);
Tailwind
colors: {
  custom: {
    50: '#e8f5dc',
    500: '#def0cd',
    950: '#000000',
  },
}
SCSS
$custom: #def0cd;
$custom-light: #e8f5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#def0cd",
  "rgb": {
    "r": 222,
    "g": 240,
    "b": 205
  },
  "hsl": {
    "h": 90.857,
    "s": 53.846,
    "l": 87.255
  },
  "oklch": {
    "l": 0.9326,
    "c": 0.05011,
    "h": 129.6
  },
  "luminance": 0.82258
}

Semantic roles & 50–950 ramp

primary
#DEF0CD
secondary
#B193CE
accent
#24C175
background
#FEFFFE
surface
#FCFEFC
border
#D5D6D5
text
#161715
muted
#848584

Preview Lab

Preview with #DEF0CD

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

Preview Lab → · Contrast checker → · Palette generator →

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