#595D21#595D21

#595D21 is a mid, moderate yellow. Relative luminance 0.101; OKLCH L 46.1% C 0.082 H 112.8°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#595D21
RGBrgb(89, 93, 33)
HSLhsl(64, 48%, 25%)
HSVhsv(64, 65%, 36%)
CMYKcmyk(4.3%, 0%, 64.5%, 63.5%)
CIE-LABlab(37.95, -10.65, 33.00)
CIE-LCHlch(37.95, 34.68, 107.89°)
OKLaboklab(46.14% -0.0318 0.0757)
OKLCHoklch(46.14% 0.082 112.8)
XYZxyz(8.3089, 10.0625, 2.9431)
Luminance0.1006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595D21 #25215D
analogous
#5D4321 #595D21 #3B5D21
triadic
#595D21 #21595D #5D2159
tetradic
#595D21 #215D43 #25215D #5D213B
square
#595D21 #215D43 #25215D #5D213B
split-complementary
#595D21 #213B5D #43215D
monochromatic
#161708 #2E3011 #595D21 #848A31 #AFB741

Accessibility & contrast

On white

6.97
#595D21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#595D21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595D21
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595D21#FFFFFF#000000##FFFFFF
##595D211.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64591A
Deuteranopia (green-blind)
#645A25
Tritanopia (blue-blind)
#5F5750
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #595d21;
/* rgb */ color: rgb(89, 93, 33);
/* oklch */ color: oklch(46.1% 0.082 112.8);
Tailwind
colors: {
  custom: {
    50: '#8a8a5f',
    500: '#595d21',
    950: '#000000',
  },
}
SCSS
$custom: #595d21;
$custom-light: #8a8a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#595d21",
  "rgb": {
    "r": 89,
    "g": 93,
    "b": 33
  },
  "hsl": {
    "h": 64,
    "s": 47.619,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46144,
    "c": 0.08209,
    "h": 112.8
  },
  "luminance": 0.10062
}

Semantic roles & 50–950 ramp

primary
#595D21
secondary
#4D4991
accent
#51D75A
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B05
muted
#7D7C79

Preview Lab

Preview with #595D21

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

Preview Lab → · Contrast checker → · Palette generator →

#595D21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva