#596A21#596A21

#596A21 is a mid, moderate yellow-green. Relative luminance 0.125; OKLCH L 49.4% C 0.100 H 121.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#596A21
RGBrgb(89, 106, 33)
HSLhsl(74, 53%, 27%)
HSVhsv(74, 69%, 42%)
CMYKcmyk(16%, 0%, 68.9%, 58.4%)
CIE-LABlab(42.06, -17.84, 37.40)
CIE-LCHlch(42.06, 41.44, 115.50°)
OKLaboklab(49.44% -0.0518 0.085)
OKLCHoklch(49.44% 0.1 121.4)
XYZxyz(9.5485, 12.5417, 3.3563)
Luminance0.1254 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#596A21 #32216A
analogous
#6A5721 #596A21 #346A21
triadic
#596A21 #21596A #6A2159
tetradic
#596A21 #216A57 #32216A #6A2134
square
#596A21 #216A57 #32216A #6A2134
split-complementary
#596A21 #21346A #57216A
monochromatic
#141707 #323B12 #596A21 #809930 #A6C441

Accessibility & contrast

On white

5.99
#596A21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#596A21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #596A21
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##596A21#FFFFFF#000000##FFFFFF
##596A211.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716417
Deuteranopia (green-blind)
#6E6326
Tritanopia (blue-blind)
#5E645B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #596a21;
/* rgb */ color: rgb(89, 106, 33);
/* oklch */ color: oklch(49.4% 0.100 121.4);
Tailwind
colors: {
  custom: {
    50: '#8a9460',
    500: '#596a21',
    950: '#000000',
  },
}
SCSS
$custom: #596a21;
$custom-light: #8a9460;
$custom-dark: #000000;
JSON
{
  "hex": "#596a21",
  "rgb": {
    "r": 89,
    "g": 106,
    "b": 33
  },
  "hsl": {
    "h": 73.973,
    "s": 52.518,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49444,
    "c": 0.09956,
    "h": 121.4
  },
  "luminance": 0.12542
}

Semantic roles & 50–950 ramp

primary
#596A21
secondary
#5D499E
accent
#4CDC6D
background
#F8F9F5
surface
#F0F1EA
border
#CBCBC6
text
#0C0D05
muted
#7D7E79

Preview Lab

Preview with #596A21

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

Preview Lab → · Contrast checker → · Palette generator →

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