#DEF2C8#DEF2C8

#DEF2C8 is a very light, muted yellow-green. Relative luminance 0.832; OKLCH L 93.6% C 0.059 H 128.3°. Best body text is #000000 at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#DEF2C8
RGBrgb(222, 242, 200)
HSLhsl(89, 62%, 87%)
HSVhsv(89, 17%, 95%)
CMYKcmyk(8.3%, 0%, 17.4%, 5.1%)
CIE-LABlab(93.10, -13.85, 18.10)
CIE-LCHlch(93.10, 22.79, 127.42°)
OKLaboklab(93.56% -0.0367 0.0466)
OKLCHoklch(93.56% 0.059 128.3)
XYZxyz(72.3000, 83.2036, 66.8833)
Luminance0.8320 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF2C8 #DCC8F2
analogous
#F2F1C8 #DEF2C8 #C9F2C8
triadic
#DEF2C8 #C8DEF2 #F2C8DE
tetradic
#DEF2C8 #C8F2F1 #DCC8F2 #F2C8C9
square
#DEF2C8 #C8F2F1 #DCC8F2 #F2C8C9
split-complementary
#DEF2C8 #C8C9F2 #F1C8F2
monochromatic
#A3DB65 #C0E697 #DEF2C8 #F0F9E6 #F0F9E6

Accessibility & contrast

On white

1.19
#DEF2C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.64
#DEF2C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF2C8
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF2C8#FFFFFF#000000##000000
##DEF2C81.001.1917.6417.64
#FFFFFF1.191.0021.0021.00
#00000017.6421.001.001.00
##00000017.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7ECC6
Deuteranopia (green-blind)
#F4EBCA
Tritanopia (blue-blind)
#E0EEE6
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #def2c8;
/* rgb */ color: rgb(222, 242, 200);
/* oklch */ color: oklch(93.6% 0.059 128.3);
Tailwind
colors: {
  custom: {
    50: '#e8f6d8',
    500: '#def2c8',
    950: '#000000',
  },
}
SCSS
$custom: #def2c8;
$custom-light: #e8f6d8;
$custom-dark: #000000;
JSON
{
  "hex": "#def2c8",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 200
  },
  "hsl": {
    "h": 88.571,
    "s": 61.765,
    "l": 86.667
  },
  "oklch": {
    "l": 0.93555,
    "c": 0.0593,
    "h": 128.3
  },
  "luminance": 0.83204
}

Semantic roles & 50–950 ramp

primary
#DEF2C8
secondary
#AD8DD2
accent
#1CC96F
background
#FEFFFE
surface
#FCFEFB
border
#D5D6D4
text
#161714
muted
#848583

Preview Lab

Preview with #DEF2C8

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

Preview Lab → · Contrast checker → · Palette generator →

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