#DEF59F#DEF59F

#DEF59F is a very light, moderate yellow-green. Relative luminance 0.833; OKLCH L 93.4% C 0.112 H 120.8°. Best body text is #000000 at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#DEF59F
RGBrgb(222, 245, 159)
HSLhsl(76, 81%, 79%)
HSVhsv(76, 35%, 96%)
CMYKcmyk(9.4%, 0%, 35.1%, 3.9%)
CIE-LABlab(93.16, -21.08, 38.97)
CIE-LCHlch(93.16, 44.30, 118.41°)
OKLaboklab(93.36% -0.0574 0.0963)
OKLCHoklch(93.36% 0.112 120.8)
XYZxyz(69.0344, 83.3377, 45.2431)
Luminance0.8334 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF59F #B69FF5
analogous
#F5E19F #DEF59F #B3F59F
triadic
#DEF59F #9FDEF5 #F59FDE
tetradic
#DEF59F #9FF5E1 #B69FF5 #F59FB3
square
#DEF59F #9FF5E1 #B69FF5 #F59FB3
split-complementary
#DEF59F #9FB3F5 #E19FF5
monochromatic
#B8E930 #CBEF68 #DEF59F #F1FBD6 #F5FCE3

Accessibility & contrast

On white

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

On black

17.67
#DEF59F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF59F
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF59F#FFFFFF#000000##000000
##DEF59F1.001.1917.6717.67
#FFFFFF1.191.0021.0021.00
#00000017.6721.001.001.00
##00000017.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC99
Deuteranopia (green-blind)
#FCECA3
Tritanopia (blue-blind)
#E5EDDF
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #def59f;
/* rgb */ color: rgb(222, 245, 159);
/* oklch */ color: oklch(93.4% 0.112 120.8);
Tailwind
colors: {
  custom: {
    50: '#e9f8bc',
    500: '#def59f',
    950: '#000000',
  },
}
SCSS
$custom: #def59f;
$custom-light: #e9f8bc;
$custom-dark: #000000;
JSON
{
  "hex": "#def59f",
  "rgb": {
    "r": 222,
    "g": 245,
    "b": 159
  },
  "hsl": {
    "h": 76.047,
    "s": 81.132,
    "l": 79.216
  },
  "oklch": {
    "l": 0.93363,
    "c": 0.1121,
    "h": 120.8
  },
  "luminance": 0.83338
}

Semantic roles & 50–950 ramp

primary
#DEF59F
secondary
#8264D4
accent
#08DD41
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161712
muted
#848582

Preview Lab

Preview with #DEF59F

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

Preview Lab → · Contrast checker → · Palette generator →

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