#596D40#596D40

#596D40 is a mid, moderate yellow-green. Relative luminance 0.134; OKLCH L 50.6% C 0.071 H 128.2°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#596D40
RGBrgb(89, 109, 64)
HSLhsl(87, 26%, 34%)
HSVhsv(87, 41%, 43%)
CMYKcmyk(18.3%, 0%, 41.3%, 57.3%)
CIE-LABlab(43.41, -16.04, 22.73)
CIE-LCHlch(43.41, 27.82, 125.21°)
OKLaboklab(50.65% -0.044 0.0559)
OKLCHoklch(50.65% 0.071 128.2)
XYZxyz(10.5138, 13.4312, 6.8881)
Luminance0.1343 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#596D40 #54406D
analogous
#6D6B40 #596D40 #436D40
triadic
#596D40 #40596D #6D4059
tetradic
#596D40 #406D6B #54406D #6D4043
square
#596D40 #406D6B #54406D #6D4043
split-complementary
#596D40 #40436D #6B406D
monochromatic
#1A2013 #3A4629 #596D40 #789457 #97B078

Accessibility & contrast

On white

5.70
#596D40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#596D40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #596D40
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##596D40#FFFFFF#000000##FFFFFF
##596D401.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71673D
Deuteranopia (green-blind)
#6E6642
Tritanopia (blue-blind)
#5B6962
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #596d40;
/* rgb */ color: rgb(89, 109, 64);
/* oklch */ color: oklch(50.6% 0.071 128.2);
Tailwind
colors: {
  custom: {
    50: '#899775',
    500: '#596d40',
    950: '#000000',
  },
}
SCSS
$custom: #596d40;
$custom-light: #899775;
$custom-dark: #000000;
JSON
{
  "hex": "#596d40",
  "rgb": {
    "r": 89,
    "g": 109,
    "b": 64
  },
  "hsl": {
    "h": 86.667,
    "s": 26.012,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5065,
    "c": 0.07111,
    "h": 128.2
  },
  "luminance": 0.13431
}

Semantic roles & 50–950 ramp

primary
#596D40
secondary
#826E9B
accent
#65C28F
background
#F8F9F7
surface
#F0F2ED
border
#CBCCC8
text
#0B0D08
muted
#7C7E7B

Preview Lab

Preview with #596D40

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

Preview Lab → · Contrast checker → · Palette generator →

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