#595C17#595C17

#595C17 is a mid, moderate yellow. Relative luminance 0.098; OKLCH L 45.8% C 0.089 H 111.9°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#595C17
RGBrgb(89, 92, 23)
HSLhsl(63, 60%, 23%)
HSVhsv(63, 75%, 36%)
CMYKcmyk(3.3%, 0%, 75%, 63.9%)
CIE-LABlab(37.55, -10.79, 37.18)
CIE-LCHlch(37.55, 38.72, 106.18°)
OKLaboklab(45.8% -0.0333 0.0828)
OKLCHoklch(45.8% 0.089 111.9)
XYZxyz(8.1019, 9.8402, 2.2830)
Luminance0.0984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595C17 #1A175C
analogous
#5C3D17 #595C17 #365C17
triadic
#595C17 #17595C #5C1759
tetradic
#595C17 #175C3D #1A175C #5C1736
square
#595C17 #175C3D #1A175C #5C1736
split-complementary
#595C17 #17365C #3D175C
monochromatic
#181806 #2A2B0B #595C17 #888D23 #B8BE2F

Accessibility & contrast

On white

7.08
#595C17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#595C17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #595C17
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595C17#FFFFFF#000000##FFFFFF
##595C171.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64570B
Deuteranopia (green-blind)
#64591C
Tritanopia (blue-blind)
#5F564E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #595c17;
/* rgb */ color: rgb(89, 92, 23);
/* oklch */ color: oklch(45.8% 0.089 111.9);
Tailwind
colors: {
  custom: {
    50: '#8a8a59',
    500: '#595c17',
    950: '#000000',
  },
}
SCSS
$custom: #595c17;
$custom-light: #8a8a59;
$custom-dark: #000000;
JSON
{
  "hex": "#595c17",
  "rgb": {
    "r": 89,
    "g": 92,
    "b": 23
  },
  "hsl": {
    "h": 62.609,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.45797,
    "c": 0.08923,
    "h": 111.9
  },
  "luminance": 0.0984
}

Semantic roles & 50–950 ramp

primary
#595C17
secondary
#403C93
accent
#45E34C
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #595C17

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

Preview Lab → · Contrast checker → · Palette generator →

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