#596212#596212

#596212 is a mid, moderate yellow. Relative luminance 0.109; OKLCH L 47.3% C 0.100 H 116.1°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#596212
RGBrgb(89, 98, 18)
HSLhsl(67, 69%, 23%)
HSVhsv(67, 82%, 38%)
CMYKcmyk(9.2%, 0%, 81.6%, 61.6%)
CIE-LABlab(39.42, -14.42, 40.88)
CIE-LCHlch(39.42, 43.35, 109.43°)
OKLaboklab(47.28% -0.0439 0.0896)
OKLCHoklch(47.28% 0.1 116.1)
XYZxyz(8.5969, 10.9030, 2.2238)
Luminance0.1090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#596212 #1B1262
analogous
#624312 #596212 #316212
triadic
#596212 #125962 #621259
tetradic
#596212 #126243 #1B1262 #621231
square
#596212 #126243 #1B1262 #621231
split-complementary
#596212 #123162 #431262
monochromatic
#171A05 #2A2E09 #596212 #88961B #B7C925

Accessibility & contrast

On white

6.60
#596212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#596212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #596212
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##596212#FFFFFF#000000##FFFFFF
##5962121.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#695D19
Tritanopia (blue-blind)
#5F5C53
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #596212;
/* rgb */ color: rgb(89, 98, 18);
/* oklch */ color: oklch(47.3% 0.100 116.1);
Tailwind
colors: {
  custom: {
    50: '#8b8e58',
    500: '#596212',
    950: '#000000',
  },
}
SCSS
$custom: #596212;
$custom-light: #8b8e58;
$custom-dark: #000000;
JSON
{
  "hex": "#596212",
  "rgb": {
    "r": 89,
    "g": 98,
    "b": 18
  },
  "hsl": {
    "h": 66.75,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.4728,
    "c": 0.09979,
    "h": 116.1
  },
  "luminance": 0.10903
}

Semantic roles & 50–950 ramp

primary
#596212
secondary
#41369A
accent
#3CEC50
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #596212

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

Preview Lab → · Contrast checker → · Palette generator →

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