#DEF8CD#DEF8CD

#DEF8CD is a very light, moderate yellow-green. Relative luminance 0.871; OKLCH L 94.9% C 0.063 H 133.0°. Best body text is #000000 at 18.41:1 contrast (WCAG AA passes).

Color values

HEX#DEF8CD
RGBrgb(222, 248, 205)
HSLhsl(96, 75%, 89%)
HSVhsv(96, 17%, 97%)
CMYKcmyk(10.5%, 0%, 17.3%, 2.7%)
CIE-LABlab(94.77, -16.01, 17.86)
CIE-LCHlch(94.77, 23.99, 131.87°)
OKLaboklab(94.91% -0.0429 0.046)
OKLCHoklch(94.91% 0.063 133)
XYZxyz(74.7091, 87.0715, 70.6163)
Luminance0.8707 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF8CD #E7CDF8
analogous
#F4F8CD #DEF8CD #CDF8D2
triadic
#DEF8CD #CDDEF8 #F8CDDE
tetradic
#DEF8CD #CDF4F8 #E7CDF8 #F8D2CD
square
#DEF8CD #CDF4F8 #E7CDF8 #F8D2CD
split-complementary
#DEF8CD #D2CDF8 #F8CDF4
monochromatic
#97E962 #BBF097 #DEF8CD #EDFBE4 #EDFBE4

Accessibility & contrast

On white

1.14
#DEF8CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.41
#DEF8CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF8CD
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF8CD#FFFFFF#000000##000000
##DEF8CD1.001.1418.4118.41
#FFFFFF1.141.0021.0021.00
#00000018.4121.001.001.00
##00000018.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCF1CB
Deuteranopia (green-blind)
#F8EFCF
Tritanopia (blue-blind)
#DFF4EC
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #def8cd;
/* rgb */ color: rgb(222, 248, 205);
/* oklch */ color: oklch(94.9% 0.063 133.0);
Tailwind
colors: {
  custom: {
    50: '#e8fadc',
    500: '#def8cd',
    950: '#000000',
  },
}
SCSS
$custom: #def8cd;
$custom-light: #e8fadc;
$custom-dark: #000000;
JSON
{
  "hex": "#def8cd",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 205
  },
  "hsl": {
    "h": 96.279,
    "s": 75.439,
    "l": 88.824
  },
  "oklch": {
    "l": 0.94912,
    "c": 0.0629,
    "h": 133
  },
  "luminance": 0.87072
}

Semantic roles & 50–950 ramp

primary
#DEF8CD
secondary
#BD8DDC
accent
#0ED888
background
#FEFFFE
surface
#FCFFFC
border
#D5D7D5
text
#161715
muted
#848584

Preview Lab

Preview with #DEF8CD

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

Preview Lab → · Contrast checker → · Palette generator →

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