#5B4913#5B4913

#5B4913 is a dark, moderate yellow. Relative luminance 0.070; OKLCH L 41.3% C 0.074 H 89.8°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#5B4913
RGBrgb(91, 73, 19)
HSLhsl(45, 65%, 22%)
HSVhsv(45, 79%, 36%)
CMYKcmyk(0%, 19.8%, 79.1%, 64.3%)
CIE-LABlab(31.89, 1.30, 33.43)
CIE-LCHlch(31.89, 33.45, 87.78°)
OKLaboklab(41.34% 0.0003 0.0739)
OKLCHoklch(41.34% 0.074 89.8)
XYZxyz(6.8149, 7.0367, 1.6152)
Luminance0.0704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4913 #13255B
analogous
#5B2513 #5B4913 #495B13
triadic
#5B4913 #135B49 #49135B
tetradic
#5B4913 #135B25 #13255B #5B1349
square
#5B4913 #135B25 #13255B #5B1349
split-complementary
#5B4913 #13495B #25135B
monochromatic
#191405 #282008 #5B4913 #8E721E #C09A28

Accessibility & contrast

On white

8.72
#5B4913 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#5B4913 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B4913
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4913#FFFFFF#000000##FFFFFF
##5B49131.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480B
Deuteranopia (green-blind)
#574D16
Tritanopia (blue-blind)
#63423E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5b4913;
/* rgb */ color: rgb(91, 73, 19);
/* oklch */ color: oklch(41.3% 0.074 89.8);
Tailwind
colors: {
  custom: {
    50: '#8c7b55',
    500: '#5b4913',
    950: '#000000',
  },
}
SCSS
$custom: #5b4913;
$custom-light: #8c7b55;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4913",
  "rgb": {
    "r": 91,
    "g": 73,
    "b": 19
  },
  "hsl": {
    "h": 45,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.41336,
    "c": 0.07394,
    "h": 89.8
  },
  "luminance": 0.07036
}

Semantic roles & 50–950 ramp

primary
#5B4913
secondary
#374E93
accent
#6AE83F
background
#F8F7F5
surface
#F0EDE9
border
#CBC8C5
text
#0C0903
muted
#7D7B78

Preview Lab

Preview with #5B4913

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

Preview Lab → · Contrast checker → · Palette generator →

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