#596F40#596F40

#596F40 is a mid, moderate yellow-green. Relative luminance 0.139; OKLCH L 51.2% C 0.074 H 129.2°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#596F40
RGBrgb(89, 111, 64)
HSLhsl(88, 27%, 34%)
HSVhsv(88, 42%, 44%)
CMYKcmyk(19.8%, 0%, 42.3%, 56.5%)
CIE-LABlab(44.04, -17.12, 23.54)
CIE-LCHlch(44.04, 29.11, 126.03°)
OKLaboklab(51.16% -0.047 0.0577)
OKLCHoklch(51.16% 0.074 129.2)
XYZxyz(10.7295, 13.8627, 6.9600)
Luminance0.1386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#596F40 #56406F
analogous
#6F6E40 #596F40 #426F40
triadic
#596F40 #40596F #6F4059
tetradic
#596F40 #406F6E #56406F #6F4042
square
#596F40 #406F6E #56406F #6F4042
split-complementary
#596F40 #40426F #6E406F
monochromatic
#1B2113 #3A482A #596F40 #789656 #97B178

Accessibility & contrast

On white

5.57
#596F40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#596F40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #596F40
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##596F40#FFFFFF#000000##FFFFFF
##596F401.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73693C
Deuteranopia (green-blind)
#706843
Tritanopia (blue-blind)
#5B6B63
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #596f40;
/* rgb */ color: rgb(89, 111, 64);
/* oklch */ color: oklch(51.2% 0.074 129.2);
Tailwind
colors: {
  custom: {
    50: '#899875',
    500: '#596f40',
    950: '#000000',
  },
}
SCSS
$custom: #596f40;
$custom-light: #899875;
$custom-dark: #000000;
JSON
{
  "hex": "#596f40",
  "rgb": {
    "r": 89,
    "g": 111,
    "b": 64
  },
  "hsl": {
    "h": 88.085,
    "s": 26.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.51156,
    "c": 0.07445,
    "h": 129.2
  },
  "luminance": 0.13863
}

Semantic roles & 50–950 ramp

primary
#596F40
secondary
#846F9C
accent
#65C391
background
#F8F9F7
surface
#F0F2ED
border
#CBCCC8
text
#0B0D08
muted
#7C7E7B

Preview Lab

Preview with #596F40

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

Preview Lab → · Contrast checker → · Palette generator →

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