#5D581F#5D581F

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

Color values

HEX#5D581F
RGBrgb(93, 88, 31)
HSLhsl(55, 50%, 24%)
HSVhsv(55, 67%, 36%)
CMYKcmyk(0%, 5.4%, 66.7%, 63.5%)
CIE-LABlab(36.75, -5.99, 32.80)
CIE-LCHlch(36.75, 33.34, 100.36°)
OKLaboklab(45.27% -0.0191 0.0749)
OKLCHoklch(45.27% 0.077 104.3)
XYZxyz(8.2515, 9.4058, 2.6769)
Luminance0.0941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D581F #1F245D
analogous
#5D391F #5D581F #435D1F
triadic
#5D581F #1F5D58 #581F5D
tetradic
#5D581F #1F5D39 #1F245D #5D1F43
square
#5D581F #1F5D39 #1F245D #5D1F43
split-complementary
#5D581F #1F435D #391F5D
monochromatic
#171608 #2F2D10 #5D581F #8B832E #B9AF3E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D581F#FFFFFF#000000##FFFFFF
##5D581F1.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)
#605518
Deuteranopia (green-blind)
#625822
Tritanopia (blue-blind)
#64524C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5d581f;
/* rgb */ color: rgb(93, 88, 31);
/* oklch */ color: oklch(45.3% 0.077 104.3);
Tailwind
colors: {
  custom: {
    50: '#8d865e',
    500: '#5d581f',
    950: '#000000',
  },
}
SCSS
$custom: #5d581f;
$custom-light: #8d865e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d581f",
  "rgb": {
    "r": 93,
    "g": 88,
    "b": 31
  },
  "hsl": {
    "h": 55.161,
    "s": 50,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45271,
    "c": 0.07724,
    "h": 104.3
  },
  "luminance": 0.09406
}

Semantic roles & 50–950 ramp

primary
#5D581F
secondary
#464C92
accent
#5ADA4E
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5D581F

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

Preview Lab → · Contrast checker → · Palette generator →

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