#596D17#596D17

#596D17 is a mid, moderate yellow-green. Relative luminance 0.131; OKLCH L 50.1% C 0.111 H 122.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#596D17
RGBrgb(89, 109, 23)
HSLhsl(74, 65%, 26%)
HSVhsv(74, 79%, 43%)
CMYKcmyk(18.3%, 0%, 78.9%, 57.3%)
CIE-LABlab(42.95, -20.08, 42.39)
CIE-LCHlch(42.95, 46.91, 115.35°)
OKLaboklab(50.13% -0.059 0.0938)
OKLCHoklch(50.13% 0.111 122.2)
XYZxyz(9.7433, 13.1230, 2.8301)
Luminance0.1312 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#596D17 #2B176D
analogous
#6D5617 #596D17 #2E6D17
triadic
#596D17 #17596D #6D1759
tetradic
#596D17 #176D56 #2B176D #6D172E
square
#596D17 #176D56 #2B176D #6D172E
split-complementary
#596D17 #172E6D #56176D
monochromatic
#151905 #303A0C #596D17 #82A022 #ACD22C

Accessibility & contrast

On white

5.79
#596D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#596D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #596D17
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##596D17#FFFFFF#000000##FFFFFF
##596D171.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746604
Deuteranopia (green-blind)
#71651F
Tritanopia (blue-blind)
#5E675D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #596d17;
/* rgb */ color: rgb(89, 109, 23);
/* oklch */ color: oklch(50.1% 0.111 122.2);
Tailwind
colors: {
  custom: {
    50: '#8b965c',
    500: '#596d17',
    950: '#000000',
  },
}
SCSS
$custom: #596d17;
$custom-light: #8b965c;
$custom-dark: #000000;
JSON
{
  "hex": "#596d17",
  "rgb": {
    "r": 89,
    "g": 109,
    "b": 23
  },
  "hsl": {
    "h": 73.953,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.50133,
    "c": 0.11078,
    "h": 122.2
  },
  "luminance": 0.13123
}

Semantic roles & 50–950 ramp

primary
#596D17
secondary
#553DA3
accent
#40E867
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #596D17

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

Preview Lab → · Contrast checker → · Palette generator →

#596D17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva