#5D581E#5D581E

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

Color values

HEX#5D581E
RGBrgb(93, 88, 30)
HSLhsl(55, 51%, 24%)
HSVhsv(55, 68%, 36%)
CMYKcmyk(0%, 5.4%, 67.7%, 63.5%)
CIE-LABlab(36.74, -6.07, 33.28)
CIE-LCHlch(36.74, 33.83, 100.33°)
OKLaboklab(45.26% -0.0194 0.0757)
OKLCHoklch(45.26% 0.078 104.4)
XYZxyz(8.2386, 9.4006, 2.6086)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D581E #1E235D
analogous
#5D391E #5D581E #435D1E
triadic
#5D581E #1E5D58 #581E5D
tetradic
#5D581E #1E5D39 #1E235D #5D1E43
square
#5D581E #1E5D39 #1E235D #5D1E43
split-complementary
#5D581E #1E435D #391E5D
monochromatic
#171607 #2F2C0F #5D581E #8B842D #BAB03C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D581E#FFFFFF#000000##FFFFFF
##5D581E1.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)
#605517
Deuteranopia (green-blind)
#625821
Tritanopia (blue-blind)
#64524C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5d581e;
/* rgb */ color: rgb(93, 88, 30);
/* oklch */ color: oklch(45.3% 0.078 104.4);
Tailwind
colors: {
  custom: {
    50: '#8d865d',
    500: '#5d581e',
    950: '#000000',
  },
}
SCSS
$custom: #5d581e;
$custom-light: #8d865d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d581e",
  "rgb": {
    "r": 93,
    "g": 88,
    "b": 30
  },
  "hsl": {
    "h": 55.238,
    "s": 51.22,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45261,
    "c": 0.07815,
    "h": 104.4
  },
  "luminance": 0.094
}

Semantic roles & 50–950 ramp

primary
#5D581E
secondary
#454B92
accent
#58DB4D
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5D581E

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

Preview Lab → · Contrast checker → · Palette generator →

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