#5B4E21#5B4E21

#5B4E21 is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.7% C 0.065 H 93.4°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#5B4E21
RGBrgb(91, 78, 33)
HSLhsl(47, 47%, 24%)
HSVhsv(47, 64%, 36%)
CMYKcmyk(0%, 14.3%, 63.7%, 64.3%)
CIE-LABlab(33.53, -0.81, 28.13)
CIE-LCHlch(33.53, 28.14, 91.65°)
OKLaboklab(42.67% -0.0038 0.0652)
OKLCHoklch(42.67% 0.065 93.4)
XYZxyz(7.3136, 7.7831, 2.5556)
Luminance0.0778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4E21 #212E5B
analogous
#5B3121 #5B4E21 #4B5B21
triadic
#5B4E21 #215B4E #4E215B
tetradic
#5B4E21 #215B31 #212E5B #5B214B
square
#5B4E21 #215B31 #212E5B #5B214B
split-complementary
#5B4E21 #214B5B #31215B
monochromatic
#161308 #2E2811 #5B4E21 #887431 #B59B42

Accessibility & contrast

On white

8.21
#5B4E21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#5B4E21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B4E21
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4E21#FFFFFF#000000##FFFFFF
##5B4E211.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564D1C
Deuteranopia (green-blind)
#595123
Tritanopia (blue-blind)
#624844
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5b4e21;
/* rgb */ color: rgb(91, 78, 33);
/* oklch */ color: oklch(42.7% 0.065 93.4);
Tailwind
colors: {
  custom: {
    50: '#8b7f5e',
    500: '#5b4e21',
    950: '#000000',
  },
}
SCSS
$custom: #5b4e21;
$custom-light: #8b7f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4e21",
  "rgb": {
    "r": 91,
    "g": 78,
    "b": 33
  },
  "hsl": {
    "h": 46.552,
    "s": 46.774,
    "l": 24.314
  },
  "oklch": {
    "l": 0.42672,
    "c": 0.06535,
    "h": 93.4
  },
  "luminance": 0.07783
}

Semantic roles & 50–950 ramp

primary
#5B4E21
secondary
#49588F
accent
#6FD651
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5B4E21

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

Preview Lab → · Contrast checker → · Palette generator →

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