#596D21#596D21

#596D21 is a mid, moderate yellow-green. Relative luminance 0.132; OKLCH L 50.2% C 0.104 H 122.9°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#596D21
RGBrgb(89, 109, 33)
HSLhsl(76, 54%, 28%)
HSVhsv(76, 70%, 43%)
CMYKcmyk(18.3%, 0%, 69.7%, 57.3%)
CIE-LABlab(43.02, -19.43, 38.40)
CIE-LCHlch(43.02, 43.04, 116.84°)
OKLaboklab(50.21% -0.0563 0.0871)
OKLCHoklch(50.21% 0.104 122.9)
XYZxyz(9.8631, 13.1709, 3.4612)
Luminance0.1317 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#596D21 #35216D
analogous
#6D5B21 #596D21 #336D21
triadic
#596D21 #21596D #6D2159
tetradic
#596D21 #216D5B #35216D #6D2133
square
#596D21 #216D5B #35216D #6D2133
split-complementary
#596D21 #21336D #5B216D
monochromatic
#131707 #333E13 #596D21 #7F9C2F #A3C642

Accessibility & contrast

On white

5.78
#596D21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#596D21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #596D21
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##596D21#FFFFFF#000000##FFFFFF
##596D211.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746616
Deuteranopia (green-blind)
#716627
Tritanopia (blue-blind)
#5E675E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #596d21;
/* rgb */ color: rgb(89, 109, 33);
/* oklch */ color: oklch(50.2% 0.104 122.9);
Tailwind
colors: {
  custom: {
    50: '#8a9661',
    500: '#596d21',
    950: '#000000',
  },
}
SCSS
$custom: #596d21;
$custom-light: #8a9661;
$custom-dark: #000000;
JSON
{
  "hex": "#596d21",
  "rgb": {
    "r": 89,
    "g": 109,
    "b": 33
  },
  "hsl": {
    "h": 75.789,
    "s": 53.521,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50214,
    "c": 0.10369,
    "h": 122.9
  },
  "luminance": 0.13171
}

Semantic roles & 50–950 ramp

primary
#596D21
secondary
#6049A1
accent
#4BDD71
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0D05
muted
#7D7E79

Preview Lab

Preview with #596D21

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

Preview Lab → · Contrast checker → · Palette generator →

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