#596E12#596E12

#596E12 is a mid, moderate yellow-green. Relative luminance 0.133; OKLCH L 50.4% C 0.115 H 122.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#596E12
RGBrgb(89, 110, 18)
HSLhsl(74, 72%, 25%)
HSVhsv(74, 84%, 43%)
CMYKcmyk(19.1%, 0%, 83.6%, 56.9%)
CIE-LABlab(43.24, -20.85, 44.35)
CIE-LCHlch(43.24, 49.01, 115.18°)
OKLaboklab(50.36% -0.0615 0.097)
OKLCHoklch(50.36% 0.115 122.4)
XYZxyz(9.8051, 13.3193, 2.6265)
Luminance0.1332 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#596E12 #27126E
analogous
#6E5512 #596E12 #2B6E12
triadic
#596E12 #12596E #6E1259
tetradic
#596E12 #126E55 #27126E #6E122B
square
#596E12 #126E55 #27126E #6E122B
split-complementary
#596E12 #122B6E #55126E
monochromatic
#151A04 #2E3909 #596E12 #84A31B #AED723

Accessibility & contrast

On white

5.73
#596E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#596E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #596E12
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##596E12#FFFFFF#000000##FFFFFF
##596E121.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#72661C
Tritanopia (blue-blind)
#5E685D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #596e12;
/* rgb */ color: rgb(89, 110, 18);
/* oklch */ color: oklch(50.4% 0.115 122.4);
Tailwind
colors: {
  custom: {
    50: '#8b9759',
    500: '#596e12',
    950: '#000000',
  },
}
SCSS
$custom: #596e12;
$custom-light: #8b9759;
$custom-dark: #000000;
JSON
{
  "hex": "#596e12",
  "rgb": {
    "r": 89,
    "g": 110,
    "b": 18
  },
  "hsl": {
    "h": 73.696,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.50361,
    "c": 0.11486,
    "h": 122.4
  },
  "luminance": 0.13319
}

Semantic roles & 50–950 ramp

primary
#596E12
secondary
#5037A5
accent
#39EF63
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #596E12

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

Preview Lab → · Contrast checker → · Palette generator →

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