#DEF59D#DEF59D

#DEF59D is a very light, moderate yellow-green. Relative luminance 0.833; OKLCH L 93.3% C 0.114 H 120.6°. Best body text is #000000 at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#DEF59D
RGBrgb(222, 245, 157)
HSLhsl(76, 81%, 79%)
HSVhsv(76, 36%, 96%)
CMYKcmyk(9.4%, 0%, 35.9%, 3.9%)
CIE-LABlab(93.13, -21.32, 39.92)
CIE-LCHlch(93.13, 45.26, 118.11°)
OKLaboklab(93.33% -0.0582 0.0984)
OKLCHoklch(93.33% 0.114 120.6)
XYZxyz(68.8622, 83.2688, 44.3365)
Luminance0.8327 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF59D #B49DF5
analogous
#F5E09D #DEF59D #B2F59D
triadic
#DEF59D #9DDEF5 #F59DDE
tetradic
#DEF59D #9DF5E0 #B49DF5 #F59DB2
square
#DEF59D #9DF5E0 #B49DF5 #F59DB2
split-complementary
#DEF59D #9DB2F5 #E09DF5
monochromatic
#B9EA2E #CBEF65 #DEF59D #F1FBD5 #F6FCE3

Accessibility & contrast

On white

1.19
#DEF59D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.65
#DEF59D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF59D
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF59D#FFFFFF#000000##000000
##DEF59D1.001.1917.6517.65
#FFFFFF1.191.0021.0021.00
#00000017.6521.001.001.00
##00000017.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC97
Deuteranopia (green-blind)
#FCEBA1
Tritanopia (blue-blind)
#E5ECDF
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #def59d;
/* rgb */ color: rgb(222, 245, 157);
/* oklch */ color: oklch(93.3% 0.114 120.6);
Tailwind
colors: {
  custom: {
    50: '#e9f8bb',
    500: '#def59d',
    950: '#000000',
  },
}
SCSS
$custom: #def59d;
$custom-light: #e9f8bb;
$custom-dark: #000000;
JSON
{
  "hex": "#def59d",
  "rgb": {
    "r": 222,
    "g": 245,
    "b": 157
  },
  "hsl": {
    "h": 75.682,
    "s": 81.481,
    "l": 78.824
  },
  "oklch": {
    "l": 0.93329,
    "c": 0.11434,
    "h": 120.6
  },
  "luminance": 0.83269
}

Semantic roles & 50–950 ramp

primary
#DEF59D
secondary
#8062D4
accent
#08DE40
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161712
muted
#848582

Preview Lab

Preview with #DEF59D

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

Preview Lab → · Contrast checker → · Palette generator →

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