#5A591A#5A591A

#5A591A is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.2% C 0.083 H 108.4°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#5A591A
RGBrgb(90, 89, 26)
HSLhsl(59, 55%, 23%)
HSVhsv(59, 71%, 35%)
CMYKcmyk(0%, 1.1%, 71.1%, 64.7%)
CIE-LABlab(36.73, -8.39, 35.07)
CIE-LCHlch(36.73, 36.06, 103.45°)
OKLaboklab(45.17% -0.0263 0.0789)
OKLCHoklch(45.17% 0.083 108.4)
XYZxyz(7.9756, 9.3932, 2.3700)
Luminance0.0939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A591A #1A1B5A
analogous
#5A391A #5A591A #3B5A1A
triadic
#5A591A #1A5A59 #591A5A
tetradic
#5A591A #1A5A39 #1A1B5A #5A1A3B
square
#5A591A #1A5A39 #1A1B5A #5A1A3B
split-complementary
#5A591A #1A3B5A #391A5A
monochromatic
#181707 #2B2A0C #5A591A #898828 #B9B735

Accessibility & contrast

On white

7.30
#5A591A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#5A591A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A591A
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A591A#FFFFFF#000000##FFFFFF
##5A591A1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615511
Deuteranopia (green-blind)
#62571E
Tritanopia (blue-blind)
#61534C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5a591a;
/* rgb */ color: rgb(90, 89, 26);
/* oklch */ color: oklch(45.2% 0.083 108.4);
Tailwind
colors: {
  custom: {
    50: '#8b875b',
    500: '#5a591a',
    950: '#000000',
  },
}
SCSS
$custom: #5a591a;
$custom-light: #8b875b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a591a",
  "rgb": {
    "r": 90,
    "g": 89,
    "b": 26
  },
  "hsl": {
    "h": 59.063,
    "s": 55.172,
    "l": 22.745
  },
  "oklch": {
    "l": 0.45169,
    "c": 0.08313,
    "h": 108.4
  },
  "luminance": 0.09393
}

Semantic roles & 50–950 ramp

primary
#5A591A
secondary
#404190
accent
#4CDF49
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5A591A

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

Preview Lab → · Contrast checker → · Palette generator →

#5A591A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva