#DEF7CD#DEF7CD

#DEF7CD is a very light, moderate yellow-green. Relative luminance 0.865; OKLCH L 94.7% C 0.061 H 132.7°. Best body text is #000000 at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#DEF7CD
RGBrgb(222, 247, 205)
HSLhsl(96, 72%, 89%)
HSVhsv(96, 17%, 97%)
CMYKcmyk(10.1%, 0%, 17%, 3.1%)
CIE-LABlab(94.51, -15.52, 17.50)
CIE-LCHlch(94.51, 23.39, 131.58°)
OKLaboklab(94.71% -0.0416 0.0451)
OKLCHoklch(94.71% 0.061 132.7)
XYZxyz(74.4025, 86.4583, 70.5141)
Luminance0.8646 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF7CD #E6CDF7
analogous
#F3F7CD #DEF7CD #CDF7D1
triadic
#DEF7CD #CDDEF7 #F7CDDE
tetradic
#DEF7CD #CDF3F7 #E6CDF7 #F7D1CD
square
#DEF7CD #CDF3F7 #E6CDF7 #F7D1CD
split-complementary
#DEF7CD #D1CDF7 #F7CDF3
monochromatic
#98E663 #BBEF98 #DEF7CD #EEFBE5 #EEFBE5

Accessibility & contrast

On white

1.15
#DEF7CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.29
#DEF7CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF7CD
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF7CD#FFFFFF#000000##000000
##DEF7CD1.001.1518.2918.29
#FFFFFF1.151.0021.0021.00
#00000018.2921.001.001.00
##00000018.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBF1CB
Deuteranopia (green-blind)
#F7EECF
Tritanopia (blue-blind)
#DFF3EB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #def7cd;
/* rgb */ color: rgb(222, 247, 205);
/* oklch */ color: oklch(94.7% 0.061 132.7);
Tailwind
colors: {
  custom: {
    50: '#e8f9dc',
    500: '#def7cd',
    950: '#000000',
  },
}
SCSS
$custom: #def7cd;
$custom-light: #e8f9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#def7cd",
  "rgb": {
    "r": 222,
    "g": 247,
    "b": 205
  },
  "hsl": {
    "h": 95.714,
    "s": 72.414,
    "l": 88.627
  },
  "oklch": {
    "l": 0.94705,
    "c": 0.0613,
    "h": 132.7
  },
  "luminance": 0.86459
}

Semantic roles & 50–950 ramp

primary
#DEF7CD
secondary
#BB8EDA
accent
#11D485
background
#FEFFFE
surface
#FCFFFC
border
#D5D7D5
text
#161715
muted
#848584

Preview Lab

Preview with #DEF7CD

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

Preview Lab → · Contrast checker → · Palette generator →

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