#DEF2AA#DEF2AA

#DEF2AA is a very light, moderate yellow-green. Relative luminance 0.819; OKLCH L 92.9% C 0.095 H 120.9°. Best body text is #000000 at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#DEF2AA
RGBrgb(222, 242, 170)
HSLhsl(77, 73%, 81%)
HSVhsv(77, 30%, 95%)
CMYKcmyk(8.3%, 0%, 29.8%, 5.1%)
CIE-LABlab(92.55, -18.22, 32.65)
CIE-LCHlch(92.55, 37.39, 119.16°)
OKLaboklab(92.93% -0.0489 0.0817)
OKLCHoklch(92.93% 0.095 120.9)
XYZxyz(69.1315, 81.9362, 50.1957)
Luminance0.8194 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF2AA #BEAAF2
analogous
#F2E2AA #DEF2AA #BAF2AA
triadic
#DEF2AA #AADEF2 #F2AADE
tetradic
#DEF2AA #AAF2E2 #BEAAF2 #F2AABA
square
#DEF2AA #AAF2E2 #BEAAF2 #F2AABA
split-complementary
#DEF2AA #AABAF2 #E2AAF2
monochromatic
#B5E240 #C9EA75 #DEF2AA #F3FADF #F5FBE4

Accessibility & contrast

On white

1.21
#DEF2AA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.39
#DEF2AA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF2AA
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF2AA#FFFFFF#000000##000000
##DEF2AA1.001.2117.3917.39
#FFFFFF1.211.0021.0021.00
#00000017.3921.001.001.00
##00000017.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBEAA5
Deuteranopia (green-blind)
#F8EAAD
Tritanopia (blue-blind)
#E4EBDF
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #def2aa;
/* rgb */ color: rgb(222, 242, 170);
/* oklch */ color: oklch(92.9% 0.095 120.9);
Tailwind
colors: {
  custom: {
    50: '#e9f6c4',
    500: '#def2aa',
    950: '#000000',
  },
}
SCSS
$custom: #def2aa;
$custom-light: #e9f6c4;
$custom-dark: #000000;
JSON
{
  "hex": "#def2aa",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 170
  },
  "hsl": {
    "h": 76.667,
    "s": 73.469,
    "l": 80.784
  },
  "oklch": {
    "l": 0.92929,
    "c": 0.09524,
    "h": 120.9
  },
  "luminance": 0.81936
}

Semantic roles & 50–950 ramp

primary
#DEF2AA
secondary
#8A6FD1
accent
#10D647
background
#FEFFFD
surface
#FDFEF9
border
#D5D6D2
text
#161712
muted
#848582

Preview Lab

Preview with #DEF2AA

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

Preview Lab → · Contrast checker → · Palette generator →

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