#DEF79D#DEF79D

#DEF79D is a very light, moderate yellow-green. Relative luminance 0.845; OKLCH L 93.8% C 0.117 H 121.3°. Best body text is #000000 at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#DEF79D
RGBrgb(222, 247, 157)
HSLhsl(77, 85%, 79%)
HSVhsv(77, 36%, 97%)
CMYKcmyk(10.1%, 0%, 36.4%, 3.1%)
CIE-LABlab(93.66, -22.28, 40.61)
CIE-LCHlch(93.66, 46.32, 118.76°)
OKLaboklab(93.75% -0.0609 0.1)
OKLCHoklch(93.75% 0.117 121.3)
XYZxyz(69.4706, 84.4855, 44.5392)
Luminance0.8448 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF79D #B69DF7
analogous
#F7E39D #DEF79D #B1F79D
triadic
#DEF79D #9DDEF7 #F79DDE
tetradic
#DEF79D #9DF7E3 #B69DF7 #F79DB1
square
#DEF79D #9DF7E3 #B69DF7 #F79DB1
split-complementary
#DEF79D #9DB1F7 #E39DF7
monochromatic
#B8EE2C #CBF264 #DEF79D #F1FCD6 #F5FDE3

Accessibility & contrast

On white

1.17
#DEF79D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.90
#DEF79D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF79D
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF79D#FFFFFF#000000##000000
##DEF79D1.001.1717.9017.90
#FFFFFF1.171.0021.0021.00
#00000017.9021.001.001.00
##00000017.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED96
Deuteranopia (green-blind)
#FEEDA1
Tritanopia (blue-blind)
#E5EEE0
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #def79d;
/* rgb */ color: rgb(222, 247, 157);
/* oklch */ color: oklch(93.8% 0.117 121.3);
Tailwind
colors: {
  custom: {
    50: '#e9f9bb',
    500: '#def79d',
    950: '#000000',
  },
}
SCSS
$custom: #def79d;
$custom-light: #e9f9bb;
$custom-dark: #000000;
JSON
{
  "hex": "#def79d",
  "rgb": {
    "r": 222,
    "g": 247,
    "b": 157
  },
  "hsl": {
    "h": 76.667,
    "s": 84.906,
    "l": 79.216
  },
  "oklch": {
    "l": 0.93751,
    "c": 0.1171,
    "h": 121.3
  },
  "luminance": 0.84485
}

Semantic roles & 50–950 ramp

primary
#DEF79D
secondary
#8261D7
accent
#04E142
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161712
muted
#848582

Preview Lab

Preview with #DEF79D

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

Preview Lab → · Contrast checker → · Palette generator →

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