#5D581C#5D581C

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

Color values

HEX#5D581C
RGBrgb(93, 88, 28)
HSLhsl(55, 54%, 24%)
HSVhsv(55, 70%, 36%)
CMYKcmyk(0%, 5.4%, 69.9%, 63.5%)
CIE-LABlab(36.73, -6.21, 34.23)
CIE-LCHlch(36.73, 34.79, 100.28°)
OKLaboklab(45.24% -0.0201 0.0774)
OKLCHoklch(45.24% 0.08 104.6)
XYZxyz(8.2138, 9.3907, 2.4783)
Luminance0.0939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D581C #1C215D
analogous
#5D371C #5D581C #415D1C
triadic
#5D581C #1C5D58 #581C5D
tetradic
#5D581C #1C5D37 #1C215D #5D1C41
square
#5D581C #1C5D37 #1C215D #5D1C41
split-complementary
#5D581C #1C415D #371C5D
monochromatic
#181607 #2E2B0E #5D581C #8C852A #BBB138

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D581C#FFFFFF#000000##FFFFFF
##5D581C1.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)
#605514
Deuteranopia (green-blind)
#625820
Tritanopia (blue-blind)
#64524C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5d581c;
/* rgb */ color: rgb(93, 88, 28);
/* oklch */ color: oklch(45.2% 0.080 104.6);
Tailwind
colors: {
  custom: {
    50: '#8d865c',
    500: '#5d581c',
    950: '#000000',
  },
}
SCSS
$custom: #5d581c;
$custom-light: #8d865c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d581c",
  "rgb": {
    "r": 93,
    "g": 88,
    "b": 28
  },
  "hsl": {
    "h": 55.385,
    "s": 53.719,
    "l": 23.725
  },
  "oklch": {
    "l": 0.4524,
    "c": 0.07991,
    "h": 104.6
  },
  "luminance": 0.0939
}

Semantic roles & 50–950 ramp

primary
#5D581C
secondary
#424992
accent
#56DD4B
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5D581C

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

Preview Lab → · Contrast checker → · Palette generator →

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