#DEF596#DEF596

#DEF596 is a very light, vivid yellow-green. Relative luminance 0.830; OKLCH L 93.2% C 0.122 H 119.9°. Best body text is #000000 at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#DEF596
RGBrgb(222, 245, 150)
HSLhsl(75, 83%, 77%)
HSVhsv(75, 39%, 96%)
CMYKcmyk(9.4%, 0%, 38.8%, 3.9%)
CIE-LABlab(93.03, -22.15, 43.23)
CIE-LCHlch(93.03, 48.58, 117.13°)
OKLaboklab(93.22% -0.0609 0.1058)
OKLCHoklch(93.22% 0.122 119.9)
XYZxyz(68.2817, 83.0366, 41.2787)
Luminance0.8304 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF596 #AD96F5
analogous
#F5DC96 #DEF596 #AFF596
triadic
#DEF596 #96DEF5 #F596DE
tetradic
#DEF596 #96F5DC #AD96F5 #F596AF
square
#DEF596 #96F5DC #AD96F5 #F596AF
split-complementary
#DEF596 #96AFF5 #DC96F5
monochromatic
#BBEA26 #CCF05E #DEF596 #F0FACE #F6FCE3

Accessibility & contrast

On white

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

On black

17.61
#DEF596 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF596
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF596#FFFFFF#000000##000000
##DEF5961.001.1917.6117.61
#FFFFFF1.191.0021.0021.00
#00000017.6121.001.001.00
##00000017.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB8F
Deuteranopia (green-blind)
#FDEB9B
Tritanopia (blue-blind)
#E6ECDE
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #def596;
/* rgb */ color: rgb(222, 245, 150);
/* oklch */ color: oklch(93.2% 0.122 119.9);
Tailwind
colors: {
  custom: {
    50: '#e9f8b6',
    500: '#def596',
    950: '#000000',
  },
}
SCSS
$custom: #def596;
$custom-light: #e9f8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#def596",
  "rgb": {
    "r": 222,
    "g": 245,
    "b": 150
  },
  "hsl": {
    "h": 74.526,
    "s": 82.609,
    "l": 77.451
  },
  "oklch": {
    "l": 0.93215,
    "c": 0.12207,
    "h": 119.9
  },
  "luminance": 0.83036
}

Semantic roles & 50–950 ramp

primary
#DEF596
secondary
#795CD3
accent
#06DF3B
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DEF596

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

Preview Lab → · Contrast checker → · Palette generator →

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