#595B17#595B17

#595B17 is a mid, moderate yellow. Relative luminance 0.097; OKLCH L 45.5% C 0.088 H 111.1°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#595B17
RGBrgb(89, 91, 23)
HSLhsl(62, 60%, 22%)
HSVhsv(62, 75%, 36%)
CMYKcmyk(2.2%, 0%, 74.7%, 64.3%)
CIE-LABlab(37.24, -10.22, 36.88)
CIE-LCHlch(37.24, 38.26, 105.49°)
OKLaboklab(45.55% -0.0317 0.0821)
OKLCHoklch(45.55% 0.088 111.1)
XYZxyz(8.0158, 9.6681, 2.2543)
Luminance0.0967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595B17 #19175B
analogous
#5B3B17 #595B17 #375B17
triadic
#595B17 #17595B #5B1759
tetradic
#595B17 #175B3B #19175B #5B1737
square
#595B17 #175B3B #19175B #5B1737
split-complementary
#595B17 #17375B #3B175B
monochromatic
#181806 #292A0B #595B17 #898C23 #B9BD30

Accessibility & contrast

On white

7.16
#595B17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#595B17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #595B17
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595B17#FFFFFF#000000##FFFFFF
##595B171.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570C
Deuteranopia (green-blind)
#63591C
Tritanopia (blue-blind)
#60554E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #595b17;
/* rgb */ color: rgb(89, 91, 23);
/* oklch */ color: oklch(45.5% 0.088 111.1);
Tailwind
colors: {
  custom: {
    50: '#8a8959',
    500: '#595b17',
    950: '#000000',
  },
}
SCSS
$custom: #595b17;
$custom-light: #8a8959;
$custom-dark: #000000;
JSON
{
  "hex": "#595b17",
  "rgb": {
    "r": 89,
    "g": 91,
    "b": 23
  },
  "hsl": {
    "h": 61.765,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.45545,
    "c": 0.08804,
    "h": 111.1
  },
  "luminance": 0.09668
}

Semantic roles & 50–950 ramp

primary
#595B17
secondary
#3E3C92
accent
#45E34A
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #595B17

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

Preview Lab → · Contrast checker → · Palette generator →

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