#596812#596812

#596812 is a mid, moderate yellow-green. Relative luminance 0.121; OKLCH L 48.8% C 0.107 H 119.5°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#596812
RGBrgb(89, 104, 18)
HSLhsl(70, 70%, 24%)
HSVhsv(70, 83%, 41%)
CMYKcmyk(14.4%, 0%, 82.7%, 59.2%)
CIE-LABlab(41.32, -17.69, 42.62)
CIE-LCHlch(41.32, 46.14, 112.54°)
OKLaboklab(48.82% -0.0529 0.0933)
OKLCHoklch(48.82% 0.107 119.5)
XYZxyz(9.1795, 12.0682, 2.4180)
Luminance0.1207 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#596812 #211268
analogous
#684C12 #596812 #2E6812
triadic
#596812 #125968 #681259
tetradic
#596812 #12684C #211268 #68122E
square
#596812 #12684C #211268 #68122E
split-complementary
#596812 #122E68 #4C1268
monochromatic
#161A05 #2C3409 #596812 #869C1B #B2D024

Accessibility & contrast

On white

6.15
#596812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#596812 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #596812
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##596812#FFFFFF#000000##FFFFFF
##5968121.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6200
Deuteranopia (green-blind)
#6E621A
Tritanopia (blue-blind)
#5F6258
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #596812;
/* rgb */ color: rgb(89, 104, 18);
/* oklch */ color: oklch(48.8% 0.107 119.5);
Tailwind
colors: {
  custom: {
    50: '#8b9359',
    500: '#596812',
    950: '#000000',
  },
}
SCSS
$custom: #596812;
$custom-light: #8b9359;
$custom-dark: #000000;
JSON
{
  "hex": "#596812",
  "rgb": {
    "r": 89,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 70.465,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.48815,
    "c": 0.10724,
    "h": 119.5
  },
  "luminance": 0.12068
}

Semantic roles & 50–950 ramp

primary
#596812
secondary
#4936A0
accent
#3BED5A
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #596812

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

Preview Lab → · Contrast checker → · Palette generator →

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