#596221#596221

#596221 is a mid, moderate yellow. Relative luminance 0.110; OKLCH L 47.4% C 0.089 H 116.6°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#596221
RGBrgb(89, 98, 33)
HSLhsl(68, 50%, 26%)
HSVhsv(68, 66%, 38%)
CMYKcmyk(9.2%, 0%, 66.3%, 61.6%)
CIE-LABlab(39.53, -13.47, 34.71)
CIE-LCHlch(39.53, 37.23, 111.22°)
OKLaboklab(47.41% -0.0397 0.0793)
OKLCHoklch(47.41% 0.089 116.6)
XYZxyz(8.7622, 10.9691, 3.0942)
Luminance0.1097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#596221 #2A2162
analogous
#624A21 #596221 #386221
triadic
#596221 #215962 #622159
tetradic
#596221 #21624A #2A2162 #622138
square
#596221 #21624A #2A2162 #622138
split-complementary
#596221 #213862 #4A2162
monochromatic
#151708 #2F3412 #596221 #839030 #ACBE40

Accessibility & contrast

On white

6.58
#596221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#596221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #596221
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##596221#FFFFFF#000000##FFFFFF
##5962211.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D19
Deuteranopia (green-blind)
#685E25
Tritanopia (blue-blind)
#5F5C54
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #596221;
/* rgb */ color: rgb(89, 98, 33);
/* oklch */ color: oklch(47.4% 0.089 116.6);
Tailwind
colors: {
  custom: {
    50: '#8a8e60',
    500: '#596221',
    950: '#000000',
  },
}
SCSS
$custom: #596221;
$custom-light: #8a8e60;
$custom-dark: #000000;
JSON
{
  "hex": "#596221",
  "rgb": {
    "r": 89,
    "g": 98,
    "b": 33
  },
  "hsl": {
    "h": 68.308,
    "s": 49.618,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47405,
    "c": 0.08867,
    "h": 116.6
  },
  "luminance": 0.10969
}

Semantic roles & 50–950 ramp

primary
#596221
secondary
#534996
accent
#4FD962
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C05
muted
#7D7D79

Preview Lab

Preview with #596221

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

Preview Lab → · Contrast checker → · Palette generator →

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