#595A17#595A17

#595A17 is a mid, moderate yellow. Relative luminance 0.095; OKLCH L 45.3% C 0.087 H 110.3°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#595A17
RGBrgb(89, 90, 23)
HSLhsl(61, 59%, 22%)
HSVhsv(61, 74%, 35%)
CMYKcmyk(1.1%, 0%, 74.4%, 64.7%)
CIE-LABlab(36.93, -9.64, 36.57)
CIE-LCHlch(36.93, 37.82, 104.77°)
OKLaboklab(45.3% -0.0301 0.0815)
OKLCHoklch(45.3% 0.087 110.3)
XYZxyz(7.9309, 9.4983, 2.2260)
Luminance0.0950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595A17 #18175A
analogous
#5A3A17 #595A17 #375A17
triadic
#595A17 #17595A #5A1759
tetradic
#595A17 #175A3A #18175A #5A1737
square
#595A17 #175A3A #18175A #5A1737
split-complementary
#595A17 #17375A #3A175A
monochromatic
#181806 #29290B #595A17 #898B23 #B9BB30

Accessibility & contrast

On white

7.24
#595A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#595A17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #595A17
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595A17#FFFFFF#000000##FFFFFF
##595A171.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62560C
Deuteranopia (green-blind)
#62581C
Tritanopia (blue-blind)
#60544D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #595a17;
/* rgb */ color: rgb(89, 90, 23);
/* oklch */ color: oklch(45.3% 0.087 110.3);
Tailwind
colors: {
  custom: {
    50: '#8a8859',
    500: '#595a17',
    950: '#000000',
  },
}
SCSS
$custom: #595a17;
$custom-light: #8a8859;
$custom-dark: #000000;
JSON
{
  "hex": "#595a17",
  "rgb": {
    "r": 89,
    "g": 90,
    "b": 23
  },
  "hsl": {
    "h": 60.896,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.45295,
    "c": 0.08686,
    "h": 110.3
  },
  "luminance": 0.09498
}

Semantic roles & 50–950 ramp

primary
#595A17
secondary
#3D3C91
accent
#45E248
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #595A17

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

Preview Lab → · Contrast checker → · Palette generator →

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