#DEF2C2#DEF2C2

#DEF2C2 is a very light, moderate yellow-green. Relative luminance 0.829; OKLCH L 93.4% C 0.067 H 126.1°. Best body text is #000000 at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#DEF2C2
RGBrgb(222, 242, 194)
HSLhsl(85, 65%, 85%)
HSVhsv(85, 20%, 95%)
CMYKcmyk(8.3%, 0%, 19.8%, 5.1%)
CIE-LABlab(92.98, -14.78, 21.01)
CIE-LCHlch(92.98, 25.69, 125.12°)
OKLaboklab(93.42% -0.0392 0.0538)
OKLCHoklch(93.42% 0.067 126.1)
XYZxyz(71.6126, 82.9286, 63.2626)
Luminance0.8293 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF2C2 #D6C2F2
analogous
#F2EEC2 #DEF2C2 #C6F2C2
triadic
#DEF2C2 #C2DEF2 #F2C2DE
tetradic
#DEF2C2 #C2F2EE #D6C2F2 #F2C2C6
square
#DEF2C2 #C2F2EE #D6C2F2 #F2C2C6
split-complementary
#DEF2C2 #C2C6F2 #EEC2F2
monochromatic
#A7DC5D #C3E790 #DEF2C2 #F1FAE6 #F1FAE6

Accessibility & contrast

On white

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

On black

17.59
#DEF2C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF2C2
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF2C2#FFFFFF#000000##000000
##DEF2C21.001.1917.5917.59
#FFFFFF1.191.0021.0021.00
#00000017.5921.001.001.00
##00000017.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8ECBF
Deuteranopia (green-blind)
#F5EBC4
Tritanopia (blue-blind)
#E1EDE5
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #def2c2;
/* rgb */ color: rgb(222, 242, 194);
/* oklch */ color: oklch(93.4% 0.067 126.1);
Tailwind
colors: {
  custom: {
    50: '#e8f6d4',
    500: '#def2c2',
    950: '#000000',
  },
}
SCSS
$custom: #def2c2;
$custom-light: #e8f6d4;
$custom-dark: #000000;
JSON
{
  "hex": "#def2c2",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 194
  },
  "hsl": {
    "h": 85,
    "s": 64.865,
    "l": 85.49
  },
  "oklch": {
    "l": 0.9342,
    "c": 0.06654,
    "h": 126.1
  },
  "luminance": 0.82929
}

Semantic roles & 50–950 ramp

primary
#DEF2C2
secondary
#A686D2
accent
#19CD64
background
#FEFFFE
surface
#FCFEFB
border
#D5D6D4
text
#161714
muted
#848583

Preview Lab

Preview with #DEF2C2

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

Preview Lab → · Contrast checker → · Palette generator →

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