#5B561D#5B561D

#5B561D is a dark, moderate yellow. Relative luminance 0.090; OKLCH L 44.6% C 0.077 H 104.3°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#5B561D
RGBrgb(91, 86, 29)
HSLhsl(55, 52%, 24%)
HSVhsv(55, 68%, 36%)
CMYKcmyk(0%, 5.5%, 68.1%, 64.3%)
CIE-LABlab(35.92, -5.93, 32.84)
CIE-LCHlch(35.92, 33.37, 100.24°)
OKLaboklab(44.56% -0.019 0.0746)
OKLCHoklch(44.56% 0.077 104.3)
XYZxyz(7.8642, 8.9687, 2.4790)
Luminance0.0897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B561D #1D225B
analogous
#5B371D #5B561D #415B1D
triadic
#5B561D #1D5B56 #561D5B
tetradic
#5B561D #1D5B37 #1D225B #5B1D41
square
#5B561D #1D5B37 #1D225B #5B1D41
split-complementary
#5B561D #1D415B #371D5B
monochromatic
#171607 #2D2A0E #5B561D #89822C #B8AE3B

Accessibility & contrast

On white

7.52
#5B561D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5B561D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B561D
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B561D#FFFFFF#000000##FFFFFF
##5B561D1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5316
Deuteranopia (green-blind)
#605620
Tritanopia (blue-blind)
#62504A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5b561d;
/* rgb */ color: rgb(91, 86, 29);
/* oklch */ color: oklch(44.6% 0.077 104.3);
Tailwind
colors: {
  custom: {
    50: '#8c855c',
    500: '#5b561d',
    950: '#000000',
  },
}
SCSS
$custom: #5b561d;
$custom-light: #8c855c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b561d",
  "rgb": {
    "r": 91,
    "g": 86,
    "b": 29
  },
  "hsl": {
    "h": 55.161,
    "s": 51.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44558,
    "c": 0.07704,
    "h": 104.3
  },
  "luminance": 0.08968
}

Semantic roles & 50–950 ramp

primary
#5B561D
secondary
#444A90
accent
#58DB4D
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5B561D

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

Preview Lab → · Contrast checker → · Palette generator →

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