#5B4E1B#5B4E1B

#5B4E1B is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.6% C 0.071 H 94.8°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#5B4E1B
RGBrgb(91, 78, 27)
HSLhsl(48, 54%, 23%)
HSVhsv(48, 70%, 36%)
CMYKcmyk(0%, 14.3%, 70.3%, 64.3%)
CIE-LABlab(33.46, -1.28, 31.21)
CIE-LCHlch(33.46, 31.23, 92.34°)
OKLaboklab(42.6% -0.006 0.0709)
OKLCHoklch(42.6% 0.071 94.8)
XYZxyz(7.2369, 7.7524, 2.1519)
Luminance0.0775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4E1B #1B285B
analogous
#5B2E1B #5B4E1B #485B1B
triadic
#5B4E1B #1B5B4E #4E1B5B
tetradic
#5B4E1B #1B5B2E #1B285B #5B1B48
square
#5B4E1B #1B5B2E #1B285B #5B1B48
split-complementary
#5B4E1B #1B485B #2E1B5B
monochromatic
#181407 #2C260D #5B4E1B #8A7629 #B99F37

Accessibility & contrast

On white

8.23
#5B4E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#5B4E1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B4E1B
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4E1B#FFFFFF#000000##FFFFFF
##5B4E1B1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C15
Deuteranopia (green-blind)
#5A501E
Tritanopia (blue-blind)
#634843
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5b4e1b;
/* rgb */ color: rgb(91, 78, 27);
/* oklch */ color: oklch(42.6% 0.071 94.8);
Tailwind
colors: {
  custom: {
    50: '#8c7f5a',
    500: '#5b4e1b',
    950: '#000000',
  },
}
SCSS
$custom: #5b4e1b;
$custom-light: #8c7f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4e1b",
  "rgb": {
    "r": 91,
    "g": 78,
    "b": 27
  },
  "hsl": {
    "h": 47.813,
    "s": 54.237,
    "l": 23.137
  },
  "oklch": {
    "l": 0.42599,
    "c": 0.0711,
    "h": 94.8
  },
  "luminance": 0.07752
}

Semantic roles & 50–950 ramp

primary
#5B4E1B
secondary
#415191
accent
#68DE4A
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5B4E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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