#5B401B#5B401B

#5B401B is a dark, moderate orange. Relative luminance 0.060; OKLCH L 39.4% C 0.064 H 72.5°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#5B401B
RGBrgb(91, 64, 27)
HSLhsl(35, 54%, 23%)
HSVhsv(35, 70%, 36%)
CMYKcmyk(0%, 29.7%, 70.3%, 64.3%)
CIE-LABlab(29.34, 7.42, 26.71)
CIE-LCHlch(29.34, 27.72, 74.48°)
OKLaboklab(39.36% 0.0193 0.0613)
OKLCHoklch(39.36% 0.064 72.5)
XYZxyz(6.3460, 5.9706, 1.8549)
Luminance0.0597 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B401B #1B365B
analogous
#5B201B #5B401B #565B1B
triadic
#5B401B #1B5B40 #401B5B
tetradic
#5B401B #1B5B20 #1B365B #5B1B56
square
#5B401B #1B5B20 #1B365B #5B1B56
split-complementary
#5B401B #1B565B #201B5B
monochromatic
#181107 #2C1F0D #5B401B #8A6129 #B98237

Accessibility & contrast

On white

9.57
#5B401B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#5B401B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B401B
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B401B#FFFFFF#000000##FFFFFF
##5B401B1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4117
Deuteranopia (green-blind)
#50481C
Tritanopia (blue-blind)
#633938
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5b401b;
/* rgb */ color: rgb(91, 64, 27);
/* oklch */ color: oklch(39.4% 0.064 72.5);
Tailwind
colors: {
  custom: {
    50: '#8c7459',
    500: '#5b401b',
    950: '#000000',
  },
}
SCSS
$custom: #5b401b;
$custom-light: #8c7459;
$custom-dark: #000000;
JSON
{
  "hex": "#5b401b",
  "rgb": {
    "r": 91,
    "g": 64,
    "b": 27
  },
  "hsl": {
    "h": 34.688,
    "s": 54.237,
    "l": 23.137
  },
  "oklch": {
    "l": 0.39358,
    "c": 0.06423,
    "h": 72.5
  },
  "luminance": 0.0597
}

Semantic roles & 50–950 ramp

primary
#5B401B
secondary
#416391
accent
#88DE4A
background
#F8F7F5
surface
#F0EDE9
border
#CBC8C5
text
#0C0803
muted
#7D7B78

Preview Lab

Preview with #5B401B

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

Preview Lab → · Contrast checker → · Palette generator →

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