#5B4E13#5B4E13

#5B4E13 is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.5% C 0.077 H 96.3°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#5B4E13
RGBrgb(91, 78, 19)
HSLhsl(49, 65%, 22%)
HSVhsv(49, 79%, 36%)
CMYKcmyk(0%, 14.3%, 79.1%, 64.3%)
CIE-LABlab(33.39, -1.77, 34.89)
CIE-LCHlch(33.39, 34.93, 92.90°)
OKLaboklab(42.52% -0.0084 0.077)
OKLCHoklch(42.52% 0.078 96.3)
XYZxyz(7.1567, 7.7203, 1.7292)
Luminance0.0772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4E13 #13205B
analogous
#5B2A13 #5B4E13 #445B13
triadic
#5B4E13 #135B4E #4E135B
tetradic
#5B4E13 #135B2A #13205B #5B1344
square
#5B4E13 #135B2A #13205B #5B1344
split-complementary
#5B4E13 #13445B #2A135B
monochromatic
#191605 #282308 #5B4E13 #8E791E #C0A528

Accessibility & contrast

On white

8.25
#5B4E13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#5B4E13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B4E13
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4E13#FFFFFF#000000##FFFFFF
##5B4E131.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C09
Deuteranopia (green-blind)
#5A5017
Tritanopia (blue-blind)
#634742
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5b4e13;
/* rgb */ color: rgb(91, 78, 19);
/* oklch */ color: oklch(42.5% 0.077 96.3);
Tailwind
colors: {
  custom: {
    50: '#8c7f55',
    500: '#5b4e13',
    950: '#000000',
  },
}
SCSS
$custom: #5b4e13;
$custom-light: #8c7f55;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4e13",
  "rgb": {
    "r": 91,
    "g": 78,
    "b": 19
  },
  "hsl": {
    "h": 49.167,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42523,
    "c": 0.0775,
    "h": 96.3
  },
  "luminance": 0.0772
}

Semantic roles & 50–950 ramp

primary
#5B4E13
secondary
#374793
accent
#5EE83F
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5B4E13

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

Preview Lab → · Contrast checker → · Palette generator →

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