#DEF2DC#DEF2DC

#DEF2DC is a very light, muted green. Relative luminance 0.842; OKLCH L 94.0% C 0.036 H 142.7°. Best body text is #000000 at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#DEF2DC
RGBrgb(222, 242, 220)
HSLhsl(115, 46%, 91%)
HSVhsv(115, 9%, 95%)
CMYKcmyk(8.3%, 0%, 9.1%, 5.1%)
CIE-LABlab(93.54, -10.53, 8.38)
CIE-LCHlch(93.54, 13.46, 141.49°)
OKLaboklab(94.04% -0.0287 0.0218)
OKLCHoklch(94.04% 0.036 142.7)
XYZxyz(74.7921, 84.2005, 80.0082)
Luminance0.8420 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF2DC #F0DCF2
analogous
#E9F2DC #DEF2DC #DCF2E5
triadic
#DEF2DC #DCDEF2 #F2DCDE
tetradic
#DEF2DC #DCE9F2 #F0DCF2 #F2E5DC
square
#DEF2DC #DCE9F2 #F0DCF2 #F2E5DC
split-complementary
#DEF2DC #E5DCF2 #F2DCE9
monochromatic
#8AD183 #B4E1AF #DEF2DC #EAF7E9 #EAF7E9

Accessibility & contrast

On white

1.18
#DEF2DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.84
#DEF2DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF2DC
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF2DC#FFFFFF#000000##000000
##DEF2DC1.001.1817.8417.84
#FFFFFF1.181.0021.0021.00
#00000017.8421.001.001.00
##00000017.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3EEDB
Deuteranopia (green-blind)
#F0ECDD
Tritanopia (blue-blind)
#DDF0EC
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #def2dc;
/* rgb */ color: rgb(222, 242, 220);
/* oklch */ color: oklch(94.0% 0.036 142.7);
Tailwind
colors: {
  custom: {
    50: '#e8f6e6',
    500: '#def2dc',
    950: '#000000',
  },
}
SCSS
$custom: #def2dc;
$custom-light: #e8f6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#def2dc",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 220
  },
  "hsl": {
    "h": 114.545,
    "s": 45.833,
    "l": 90.588
  },
  "oklch": {
    "l": 0.94043,
    "c": 0.03607,
    "h": 142.7
  },
  "luminance": 0.84201
}

Semantic roles & 50–950 ramp

primary
#DEF2DC
secondary
#CBA3D0
accent
#2CB9AC
background
#FEFFFE
surface
#FCFEFC
border
#D5D6D5
text
#161716
muted
#848584

Preview Lab

Preview with #DEF2DC

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

Preview Lab → · Contrast checker → · Palette generator →

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