#5B561A#5B561A

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

Color values

HEX#5B561A
RGBrgb(91, 86, 26)
HSLhsl(55, 56%, 23%)
HSVhsv(55, 71%, 36%)
CMYKcmyk(0%, 5.5%, 71.4%, 64.3%)
CIE-LABlab(35.90, -6.14, 34.25)
CIE-LCHlch(35.90, 34.79, 100.17°)
OKLaboklab(44.53% -0.02 0.0771)
OKLCHoklch(44.53% 0.08 104.5)
XYZxyz(7.8289, 8.9546, 2.2931)
Luminance0.0895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B561A #1A1F5B
analogous
#5B351A #5B561A #3F5B1A
triadic
#5B561A #1A5B56 #561A5B
tetradic
#5B561A #1A5B35 #1A1F5B #5B1A3F
square
#5B561A #1A5B35 #1A1F5B #5B1A3F
split-complementary
#5B561A #1A3F5B #351A5B
monochromatic
#181607 #2B290C #5B561A #8B8328 #BAB035

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B561A#FFFFFF#000000##FFFFFF
##5B561A1.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)
#5E5312
Deuteranopia (green-blind)
#60561E
Tritanopia (blue-blind)
#62504A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5b561a;
/* rgb */ color: rgb(91, 86, 26);
/* oklch */ color: oklch(44.5% 0.080 104.5);
Tailwind
colors: {
  custom: {
    50: '#8c855a',
    500: '#5b561a',
    950: '#000000',
  },
}
SCSS
$custom: #5b561a;
$custom-light: #8c855a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b561a",
  "rgb": {
    "r": 91,
    "g": 86,
    "b": 26
  },
  "hsl": {
    "h": 55.385,
    "s": 55.556,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44528,
    "c": 0.07965,
    "h": 104.5
  },
  "luminance": 0.08954
}

Semantic roles & 50–950 ramp

primary
#5B561A
secondary
#404691
accent
#54DF49
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5B561A

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

Preview Lab → · Contrast checker → · Palette generator →

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