#5D581A#5D581A

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

Color values

HEX#5D581A
RGBrgb(93, 88, 26)
HSLhsl(56, 56%, 23%)
HSVhsv(56, 72%, 36%)
CMYKcmyk(0%, 5.4%, 72%, 63.5%)
CIE-LABlab(36.71, -6.34, 35.14)
CIE-LCHlch(36.71, 35.71, 100.23°)
OKLaboklab(45.22% -0.0207 0.0789)
OKLCHoklch(45.22% 0.082 104.7)
XYZxyz(8.1907, 9.3815, 2.3564)
Luminance0.0938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D581A #1A1F5D
analogous
#5D361A #5D581A #405D1A
triadic
#5D581A #1A5D58 #581A5D
tetradic
#5D581A #1A5D36 #1A1F5D #5D1A40
square
#5D581A #1A5D36 #1A1F5D #5D1A40
split-complementary
#5D581A #1A405D #361A5D
monochromatic
#181707 #2D2B0D #5D581A #8D8527 #BDB335

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D581A#FFFFFF#000000##FFFFFF
##5D581A1.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)
#605511
Deuteranopia (green-blind)
#62581E
Tritanopia (blue-blind)
#64524B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5d581a;
/* rgb */ color: rgb(93, 88, 26);
/* oklch */ color: oklch(45.2% 0.082 104.7);
Tailwind
colors: {
  custom: {
    50: '#8d865b',
    500: '#5d581a',
    950: '#000000',
  },
}
SCSS
$custom: #5d581a;
$custom-light: #8d865b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d581a",
  "rgb": {
    "r": 93,
    "g": 88,
    "b": 26
  },
  "hsl": {
    "h": 55.522,
    "s": 56.303,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45221,
    "c": 0.08159,
    "h": 104.7
  },
  "luminance": 0.09381
}

Semantic roles & 50–950 ramp

primary
#5D581A
secondary
#404693
accent
#54E048
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5D581A

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

Preview Lab → · Contrast checker → · Palette generator →

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