#5D581B#5D581B

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

Color values

HEX#5D581B
RGBrgb(93, 88, 27)
HSLhsl(55, 55%, 24%)
HSVhsv(55, 71%, 36%)
CMYKcmyk(0%, 5.4%, 71%, 63.5%)
CIE-LABlab(36.72, -6.28, 34.69)
CIE-LCHlch(36.72, 35.25, 100.26°)
OKLaboklab(45.23% -0.0204 0.0782)
OKLCHoklch(45.23% 0.081 104.6)
XYZxyz(8.2021, 9.3860, 2.4163)
Luminance0.0939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D581B #1B205D
analogous
#5D371B #5D581B #415D1B
triadic
#5D581B #1B5D58 #581B5D
tetradic
#5D581B #1B5D37 #1B205D #5D1B41
square
#5D581B #1B5D37 #1B205D #5D1B41
split-complementary
#5D581B #1B415D #371B5D
monochromatic
#181607 #2E2B0D #5D581B #8C8529 #BCB237

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D581B#FFFFFF#000000##FFFFFF
##5D581B1.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)
#605513
Deuteranopia (green-blind)
#62581F
Tritanopia (blue-blind)
#64524C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5d581b;
/* rgb */ color: rgb(93, 88, 27);
/* oklch */ color: oklch(45.2% 0.081 104.6);
Tailwind
colors: {
  custom: {
    50: '#8d865b',
    500: '#5d581b',
    950: '#000000',
  },
}
SCSS
$custom: #5d581b;
$custom-light: #8d865b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d581b",
  "rgb": {
    "r": 93,
    "g": 88,
    "b": 27
  },
  "hsl": {
    "h": 55.455,
    "s": 55,
    "l": 23.529
  },
  "oklch": {
    "l": 0.4523,
    "c": 0.08077,
    "h": 104.6
  },
  "luminance": 0.09386
}

Semantic roles & 50–950 ramp

primary
#5D581B
secondary
#414793
accent
#55DE49
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5D581B

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

Preview Lab → · Contrast checker → · Palette generator →

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