#DEF591#DEF591

#DEF591 is a very light, vivid yellow-green. Relative luminance 0.829; OKLCH L 93.1% C 0.127 H 119.5°. Best body text is #000000 at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#DEF591
RGBrgb(222, 245, 145)
HSLhsl(74, 83%, 76%)
HSVhsv(74, 41%, 96%)
CMYKcmyk(9.4%, 0%, 40.8%, 3.9%)
CIE-LABlab(92.96, -22.72, 45.58)
CIE-LCHlch(92.96, 50.93, 116.49°)
OKLaboklab(93.14% -0.0628 0.1109)
OKLCHoklch(93.14% 0.127 119.5)
XYZxyz(67.8876, 82.8790, 39.2034)
Luminance0.8288 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF591 #A891F5
analogous
#F5DA91 #DEF591 #ACF591
triadic
#DEF591 #91DEF5 #F591DE
tetradic
#DEF591 #91F5DA #A891F5 #F591AC
square
#DEF591 #91F5DA #A891F5 #F591AC
split-complementary
#DEF591 #91ACF5 #DA91F5
monochromatic
#BCEB21 #CDF059 #DEF591 #EFFAC9 #F7FCE3

Accessibility & contrast

On white

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

On black

17.58
#DEF591 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF591
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF591#FFFFFF#000000##000000
##DEF5911.001.1917.5817.58
#FFFFFF1.191.0021.0021.00
#00000017.5821.001.001.00
##00000017.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB89
Deuteranopia (green-blind)
#FEEB96
Tritanopia (blue-blind)
#E7EBDD
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #def591;
/* rgb */ color: rgb(222, 245, 145);
/* oklch */ color: oklch(93.1% 0.127 119.5);
Tailwind
colors: {
  custom: {
    50: '#e9f8b2',
    500: '#def591',
    950: '#000000',
  },
}
SCSS
$custom: #def591;
$custom-light: #e9f8b2;
$custom-dark: #000000;
JSON
{
  "hex": "#def591",
  "rgb": {
    "r": 222,
    "g": 245,
    "b": 145
  },
  "hsl": {
    "h": 73.8,
    "s": 83.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.93137,
    "c": 0.12746,
    "h": 119.5
  },
  "luminance": 0.82879
}

Semantic roles & 50–950 ramp

primary
#DEF591
secondary
#7457D3
accent
#06E038
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DEF591

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

Preview Lab → · Contrast checker → · Palette generator →

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