#596912#596912

#596912 is a mid, moderate yellow-green. Relative luminance 0.123; OKLCH L 49.1% C 0.109 H 120.0°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#596912
RGBrgb(89, 105, 18)
HSLhsl(71, 71%, 24%)
HSVhsv(71, 83%, 41%)
CMYKcmyk(15.2%, 0%, 82.9%, 58.8%)
CIE-LABlab(41.64, -18.22, 42.91)
CIE-LCHlch(41.64, 46.62, 113.01°)
OKLaboklab(49.07% -0.0543 0.0939)
OKLCHoklch(49.07% 0.109 120)
XYZxyz(9.2808, 12.2707, 2.4517)
Luminance0.1227 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#596912 #221269
analogous
#694E12 #596912 #2E6912
triadic
#596912 #125969 #691259
tetradic
#596912 #12694E #221269 #69122E
square
#596912 #12694E #221269 #69122E
split-complementary
#596912 #122E69 #4E1269
monochromatic
#161A04 #2D3509 #596912 #859D1B #B2D124

Accessibility & contrast

On white

6.08
#596912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#596912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #596912
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##596912#FFFFFF#000000##FFFFFF
##5969121.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#6E621B
Tritanopia (blue-blind)
#5F6359
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #596912;
/* rgb */ color: rgb(89, 105, 18);
/* oklch */ color: oklch(49.1% 0.109 120.0);
Tailwind
colors: {
  custom: {
    50: '#8b9359',
    500: '#596912',
    950: '#000000',
  },
}
SCSS
$custom: #596912;
$custom-light: #8b9359;
$custom-dark: #000000;
JSON
{
  "hex": "#596912",
  "rgb": {
    "r": 89,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 71.034,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.49072,
    "c": 0.10851,
    "h": 120
  },
  "luminance": 0.12271
}

Semantic roles & 50–950 ramp

primary
#596912
secondary
#4A36A1
accent
#3AED5B
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #596912

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

Preview Lab → · Contrast checker → · Palette generator →

#596912 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva