#5A591D#5A591D

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

Color values

HEX#5A591D
RGBrgb(90, 89, 29)
HSLhsl(59, 51%, 23%)
HSVhsv(59, 68%, 35%)
CMYKcmyk(0%, 1.1%, 67.8%, 64.7%)
CIE-LABlab(36.76, -8.18, 33.69)
CIE-LCHlch(36.76, 34.67, 103.64°)
OKLaboklab(45.2% -0.0253 0.0765)
OKLCHoklch(45.2% 0.081 108.3)
XYZxyz(8.0109, 9.4074, 2.5560)
Luminance0.0941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A591D #1D1E5A
analogous
#5A3A1D #5A591D #3C5A1D
triadic
#5A591D #1D5A59 #591D5A
tetradic
#5A591D #1D5A3A #1D1E5A #5A1D3C
square
#5A591D #1D5A3A #1D1E5A #5A1D3C
split-complementary
#5A591D #1D3C5A #3A1D5A
monochromatic
#171707 #2C2B0E #5A591D #88872C #B7B53B

Accessibility & contrast

On white

7.29
#5A591D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A591D
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A591D#FFFFFF#000000##FFFFFF
##5A591D1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605515
Deuteranopia (green-blind)
#615721
Tritanopia (blue-blind)
#61534D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5a591d;
/* rgb */ color: rgb(90, 89, 29);
/* oklch */ color: oklch(45.2% 0.081 108.3);
Tailwind
colors: {
  custom: {
    50: '#8b875c',
    500: '#5a591d',
    950: '#000000',
  },
}
SCSS
$custom: #5a591d;
$custom-light: #8b875c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a591d",
  "rgb": {
    "r": 90,
    "g": 89,
    "b": 29
  },
  "hsl": {
    "h": 59.016,
    "s": 51.261,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45198,
    "c": 0.08057,
    "h": 108.3
  },
  "luminance": 0.09407
}

Semantic roles & 50–950 ramp

primary
#5A591D
secondary
#44458F
accent
#4FDB4D
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5A591D

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

Preview Lab → · Contrast checker → · Palette generator →

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