#DEF6AA#DEF6AA

#DEF6AA is a very light, moderate yellow-green. Relative luminance 0.843; OKLCH L 93.8% C 0.101 H 122.6°. Best body text is #000000 at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#DEF6AA
RGBrgb(222, 246, 170)
HSLhsl(79, 81%, 82%)
HSVhsv(79, 31%, 96%)
CMYKcmyk(9.8%, 0%, 30.9%, 3.5%)
CIE-LABlab(93.60, -20.16, 34.05)
CIE-LCHlch(93.60, 39.57, 120.62°)
OKLaboklab(93.77% -0.0544 0.0851)
OKLCHoklch(93.77% 0.101 122.6)
XYZxyz(70.3351, 84.3433, 50.5969)
Luminance0.8434 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF6AA #C2AAF6
analogous
#F6E8AA #DEF6AA #B8F6AA
triadic
#DEF6AA #AADEF6 #F6AADE
tetradic
#DEF6AA #AAF6E8 #C2AAF6 #F6AAB8
square
#DEF6AA #AAF6E8 #C2AAF6 #F6AAB8
split-complementary
#DEF6AA #AAB8F6 #E8AAF6
monochromatic
#B3EA3B #C9F073 #DEF6AA #F3FCE1 #F4FCE3

Accessibility & contrast

On white

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

On black

17.87
#DEF6AA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF6AA
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF6AA#FFFFFF#000000##000000
##DEF6AA1.001.1817.8717.87
#FFFFFF1.181.0021.0021.00
#00000017.8721.001.001.00
##00000017.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEDA5
Deuteranopia (green-blind)
#FCEDAD
Tritanopia (blue-blind)
#E4EFE2
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #def6aa;
/* rgb */ color: rgb(222, 246, 170);
/* oklch */ color: oklch(93.8% 0.101 122.6);
Tailwind
colors: {
  custom: {
    50: '#e9f9c4',
    500: '#def6aa',
    950: '#000000',
  },
}
SCSS
$custom: #def6aa;
$custom-light: #e9f9c4;
$custom-dark: #000000;
JSON
{
  "hex": "#def6aa",
  "rgb": {
    "r": 222,
    "g": 246,
    "b": 170
  },
  "hsl": {
    "h": 78.947,
    "s": 80.851,
    "l": 81.569
  },
  "oklch": {
    "l": 0.93769,
    "c": 0.10097,
    "h": 122.6
  },
  "luminance": 0.84343
}

Semantic roles & 50–950 ramp

primary
#DEF6AA
secondary
#8F6ED7
accent
#08DD4C
background
#FEFFFD
surface
#FDFFF9
border
#D5D7D2
text
#161712
muted
#848582

Preview Lab

Preview with #DEF6AA

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

Preview Lab → · Contrast checker → · Palette generator →

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