#5D591A#5D591A

#5D591A is a mid, moderate yellow. Relative luminance 0.095; OKLCH L 45.5% C 0.083 H 105.7°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#5D591A
RGBrgb(93, 89, 26)
HSLhsl(56, 56%, 23%)
HSVhsv(56, 72%, 36%)
CMYKcmyk(0%, 4.3%, 72%, 63.5%)
CIE-LABlab(37.02, -6.93, 35.46)
CIE-LCHlch(37.02, 36.13, 101.06°)
OKLaboklab(45.47% -0.0224 0.0796)
OKLCHoklch(45.47% 0.083 105.7)
XYZxyz(8.2733, 9.5468, 2.3840)
Luminance0.0955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D591A #1A1E5D
analogous
#5D371A #5D591A #3F5D1A
triadic
#5D591A #1A5D59 #591A5D
tetradic
#5D591A #1A5D37 #1A1E5D #5D1A3F
square
#5D591A #1A5D37 #1A1E5D #5D1A3F
split-complementary
#5D591A #1A3F5D #371A5D
monochromatic
#181707 #2D2B0D #5D591A #8D8727 #BDB535

Accessibility & contrast

On white

7.22
#5D591A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#5D591A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D591A
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D591A#FFFFFF#000000##FFFFFF
##5D591A1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615611
Deuteranopia (green-blind)
#63581E
Tritanopia (blue-blind)
#64534C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5d591a;
/* rgb */ color: rgb(93, 89, 26);
/* oklch */ color: oklch(45.5% 0.083 105.7);
Tailwind
colors: {
  custom: {
    50: '#8d875b',
    500: '#5d591a',
    950: '#000000',
  },
}
SCSS
$custom: #5d591a;
$custom-light: #8d875b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d591a",
  "rgb": {
    "r": 93,
    "g": 89,
    "b": 26
  },
  "hsl": {
    "h": 56.418,
    "s": 56.303,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45466,
    "c": 0.08266,
    "h": 105.7
  },
  "luminance": 0.09546
}

Semantic roles & 50–950 ramp

primary
#5D591A
secondary
#404593
accent
#51E048
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5D591A

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

Preview Lab → · Contrast checker → · Palette generator →

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