#DEF79F#DEF79F

#DEF79F is a very light, moderate yellow-green. Relative luminance 0.846; OKLCH L 93.8% C 0.115 H 121.6°. Best body text is #000000 at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#DEF79F
RGBrgb(222, 247, 159)
HSLhsl(77, 85%, 80%)
HSVhsv(77, 36%, 97%)
CMYKcmyk(10.1%, 0%, 35.6%, 3.1%)
CIE-LABlab(93.69, -22.04, 39.66)
CIE-LCHlch(93.69, 45.37, 119.07°)
OKLaboklab(93.79% -0.0601 0.0979)
OKLCHoklch(93.79% 0.115 121.6)
XYZxyz(69.6427, 84.5543, 45.4459)
Luminance0.8455 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF79F #B89FF7
analogous
#F7E49F #DEF79F #B2F79F
triadic
#DEF79F #9FDEF7 #F79FDE
tetradic
#DEF79F #9FF7E4 #B89FF7 #F79FB2
square
#DEF79F #9FF7E4 #B89FF7 #F79FB2
split-complementary
#DEF79F #9FB2F7 #E49FF7
monochromatic
#B7EE2E #CBF267 #DEF79F #F1FCD7 #F5FDE3

Accessibility & contrast

On white

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

On black

17.91
#DEF79F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF79F
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF79F#FFFFFF#000000##000000
##DEF79F1.001.1717.9117.91
#FFFFFF1.171.0021.0021.00
#00000017.9121.001.001.00
##00000017.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED99
Deuteranopia (green-blind)
#FEEDA3
Tritanopia (blue-blind)
#E5EFE1
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #def79f;
/* rgb */ color: rgb(222, 247, 159);
/* oklch */ color: oklch(93.8% 0.115 121.6);
Tailwind
colors: {
  custom: {
    50: '#e9f9bc',
    500: '#def79f',
    950: '#000000',
  },
}
SCSS
$custom: #def79f;
$custom-light: #e9f9bc;
$custom-dark: #000000;
JSON
{
  "hex": "#def79f",
  "rgb": {
    "r": 222,
    "g": 247,
    "b": 159
  },
  "hsl": {
    "h": 77.045,
    "s": 84.615,
    "l": 79.608
  },
  "oklch": {
    "l": 0.93785,
    "c": 0.11487,
    "h": 121.6
  },
  "luminance": 0.84554
}

Semantic roles & 50–950 ramp

primary
#DEF79F
secondary
#8463D7
accent
#04E143
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161712
muted
#848582

Preview Lab

Preview with #DEF79F

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

Preview Lab → · Contrast checker → · Palette generator →

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