#5B4E27#5B4E27

#5B4E27 is a dark, muted yellow. Relative luminance 0.078; OKLCH L 42.8% C 0.059 H 91.4°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#5B4E27
RGBrgb(91, 78, 39)
HSLhsl(45, 40%, 25%)
HSVhsv(45, 57%, 36%)
CMYKcmyk(0%, 14.3%, 57.1%, 64.3%)
CIE-LABlab(33.60, -0.26, 24.86)
CIE-LCHlch(33.60, 24.86, 90.60°)
OKLaboklab(42.76% -0.0014 0.0589)
OKLCHoklch(42.76% 0.059 91.4)
XYZxyz(7.4053, 7.8198, 3.0384)
Luminance0.0782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4E27 #27345B
analogous
#5B3427 #5B4E27 #4E5B27
triadic
#5B4E27 #275B4E #4E275B
tetradic
#5B4E27 #275B34 #27345B #5B274E
square
#5B4E27 #275B34 #27345B #5B274E
split-complementary
#5B4E27 #274E5B #34275B
monochromatic
#151209 #302915 #5B4E27 #867339 #B1974C

Accessibility & contrast

On white

8.19
#5B4E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B4E27
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4E27#FFFFFF#000000##FFFFFF
##5B4E271.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564D24
Deuteranopia (green-blind)
#595128
Tritanopia (blue-blind)
#624845
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5b4e27;
/* rgb */ color: rgb(91, 78, 39);
/* oklch */ color: oklch(42.8% 0.059 91.4);
Tailwind
colors: {
  custom: {
    50: '#8b7f62',
    500: '#5b4e27',
    950: '#000000',
  },
}
SCSS
$custom: #5b4e27;
$custom-light: #8b7f62;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4e27",
  "rgb": {
    "r": 91,
    "g": 78,
    "b": 39
  },
  "hsl": {
    "h": 45,
    "s": 40,
    "l": 25.49
  },
  "oklch": {
    "l": 0.42758,
    "c": 0.05891,
    "h": 91.4
  },
  "luminance": 0.07819
}

Semantic roles & 50–950 ramp

primary
#5B4E27
secondary
#505F8E
accent
#76D058
background
#F8F7F5
surface
#F0EEEA
border
#CBC9C6
text
#0C0A05
muted
#7D7C79

Preview Lab

Preview with #5B4E27

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

Preview Lab → · Contrast checker → · Palette generator →

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