#DEF1CD#DEF1CD

#DEF1CD is a very light, muted yellow-green. Relative luminance 0.828; OKLCH L 93.5% C 0.052 H 130.2°. Best body text is #000000 at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#DEF1CD
RGBrgb(222, 241, 205)
HSLhsl(92, 56%, 87%)
HSVhsv(92, 15%, 95%)
CMYKcmyk(7.9%, 0%, 14.9%, 5.5%)
CIE-LABlab(92.95, -12.55, 15.30)
CIE-LCHlch(92.95, 19.79, 129.37°)
OKLaboklab(93.47% -0.0333 0.0395)
OKLCHoklch(93.47% 0.052 130.2)
XYZxyz(72.5971, 82.8476, 69.9123)
Luminance0.8285 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF1CD #E0CDF1
analogous
#F0F1CD #DEF1CD #CDF1CE
triadic
#DEF1CD #CDDEF1 #F1CDDE
tetradic
#DEF1CD #CDF0F1 #E0CDF1 #F1CECD
square
#DEF1CD #CDF0F1 #E0CDF1 #F1CECD
split-complementary
#DEF1CD #CECDF1 #F1CDF0
monochromatic
#9FD66D #BEE49D #DEF1CD #EFF8E7 #EFF8E7

Accessibility & contrast

On white

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

On black

17.57
#DEF1CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF1CD
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF1CD#FFFFFF#000000##000000
##DEF1CD1.001.2017.5717.57
#FFFFFF1.201.0021.0021.00
#00000017.5721.001.001.00
##00000017.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5ECCB
Deuteranopia (green-blind)
#F2EACF
Tritanopia (blue-blind)
#DFEEE7
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #def1cd;
/* rgb */ color: rgb(222, 241, 205);
/* oklch */ color: oklch(93.5% 0.052 130.2);
Tailwind
colors: {
  custom: {
    50: '#e8f5dc',
    500: '#def1cd',
    950: '#000000',
  },
}
SCSS
$custom: #def1cd;
$custom-light: #e8f5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#def1cd",
  "rgb": {
    "r": 222,
    "g": 241,
    "b": 205
  },
  "hsl": {
    "h": 91.667,
    "s": 56.25,
    "l": 87.451
  },
  "oklch": {
    "l": 0.93466,
    "c": 0.0517,
    "h": 130.2
  },
  "luminance": 0.82848
}

Semantic roles & 50–950 ramp

primary
#DEF1CD
secondary
#B392D0
accent
#22C477
background
#FEFFFE
surface
#FCFEFC
border
#D5D6D5
text
#161715
muted
#848584

Preview Lab

Preview with #DEF1CD

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

Preview Lab → · Contrast checker → · Palette generator →

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