#DEF9CD#DEF9CD

#DEF9CD is a very light, moderate yellow-green. Relative luminance 0.877; OKLCH L 95.1% C 0.064 H 133.4°. Best body text is #000000 at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#DEF9CD
RGBrgb(222, 249, 205)
HSLhsl(97, 79%, 89%)
HSVhsv(97, 18%, 98%)
CMYKcmyk(10.8%, 0%, 17.7%, 2.4%)
CIE-LABlab(95.03, -16.50, 18.23)
CIE-LCHlch(95.03, 24.59, 132.16°)
OKLaboklab(95.12% -0.0443 0.0469)
OKLCHoklch(95.12% 0.064 133.4)
XYZxyz(75.0174, 87.6880, 70.7190)
Luminance0.8769 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF9CD #E8CDF9
analogous
#F4F9CD #DEF9CD #CDF9D2
triadic
#DEF9CD #CDDEF9 #F9CDDE
tetradic
#DEF9CD #CDF4F9 #E8CDF9 #F9D2CD
square
#DEF9CD #CDF4F9 #E8CDF9 #F9D2CD
split-complementary
#DEF9CD #D2CDF9 #F9CDF4
monochromatic
#96EC60 #BAF296 #DEF9CD #EDFCE4 #EDFCE4

Accessibility & contrast

On white

1.13
#DEF9CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.54
#DEF9CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF9CD
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF9CD#FFFFFF#000000##000000
##DEF9CD1.001.1318.5418.54
#FFFFFF1.131.0021.0021.00
#00000018.5421.001.001.00
##00000018.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDF2CA
Deuteranopia (green-blind)
#F9F0CF
Tritanopia (blue-blind)
#DFF5ED
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #def9cd;
/* rgb */ color: rgb(222, 249, 205);
/* oklch */ color: oklch(95.1% 0.064 133.4);
Tailwind
colors: {
  custom: {
    50: '#e8fbdc',
    500: '#def9cd',
    950: '#000000',
  },
}
SCSS
$custom: #def9cd;
$custom-light: #e8fbdc;
$custom-dark: #000000;
JSON
{
  "hex": "#def9cd",
  "rgb": {
    "r": 222,
    "g": 249,
    "b": 205
  },
  "hsl": {
    "h": 96.818,
    "s": 78.571,
    "l": 89.02
  },
  "oklch": {
    "l": 0.95119,
    "c": 0.06449,
    "h": 133.4
  },
  "luminance": 0.87689
}

Semantic roles & 50–950 ramp

primary
#DEF9CD
secondary
#BE8CDE
accent
#0BDB8A
background
#FEFFFE
surface
#FCFFFC
border
#D5D7D5
text
#161715
muted
#848584

Preview Lab

Preview with #DEF9CD

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

Preview Lab → · Contrast checker → · Palette generator →

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