#DEF2AE#DEF2AE

#DEF2AE is a very light, moderate yellow-green. Relative luminance 0.821; OKLCH L 93.0% C 0.091 H 121.5°. Best body text is #000000 at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#DEF2AE
RGBrgb(222, 242, 174)
HSLhsl(78, 72%, 82%)
HSVhsv(78, 28%, 95%)
CMYKcmyk(8.3%, 0%, 28.1%, 5.1%)
CIE-LABlab(92.61, -17.68, 30.72)
CIE-LCHlch(92.61, 35.44, 119.92°)
OKLaboklab(93.01% -0.0473 0.0772)
OKLCHoklch(93.01% 0.091 121.5)
XYZxyz(69.5157, 82.0899, 52.2189)
Luminance0.8209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF2AE #C2AEF2
analogous
#F2E4AE #DEF2AE #BCF2AE
triadic
#DEF2AE #AEDEF2 #F2AEDE
tetradic
#DEF2AE #AEF2E4 #C2AEF2 #F2AEBC
square
#DEF2AE #AEF2E4 #C2AEF2 #F2AEBC
split-complementary
#DEF2AE #AEBCF2 #E4AEF2
monochromatic
#B3E145 #C9EA79 #DEF2AE #F3FAE3 #F4FBE5

Accessibility & contrast

On white

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

On black

17.42
#DEF2AE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF2AE
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF2AE#FFFFFF#000000##000000
##DEF2AE1.001.2117.4217.42
#FFFFFF1.211.0021.0021.00
#00000017.4221.001.001.00
##00000017.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAEAAA
Deuteranopia (green-blind)
#F8EAB1
Tritanopia (blue-blind)
#E4EBE0
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #def2ae;
/* rgb */ color: rgb(222, 242, 174);
/* oklch */ color: oklch(93.0% 0.091 121.5);
Tailwind
colors: {
  custom: {
    50: '#e9f6c6',
    500: '#def2ae',
    950: '#000000',
  },
}
SCSS
$custom: #def2ae;
$custom-light: #e9f6c6;
$custom-dark: #000000;
JSON
{
  "hex": "#def2ae",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 174
  },
  "hsl": {
    "h": 77.647,
    "s": 72.34,
    "l": 81.569
  },
  "oklch": {
    "l": 0.93005,
    "c": 0.09053,
    "h": 121.5
  },
  "luminance": 0.8209
}

Semantic roles & 50–950 ramp

primary
#DEF2AE
secondary
#8F73D1
accent
#11D44B
background
#FEFFFD
surface
#FDFEF9
border
#D5D6D2
text
#161713
muted
#848582

Preview Lab

Preview with #DEF2AE

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

Preview Lab → · Contrast checker → · Palette generator →

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