#5B401D#5B401D

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

Color values

HEX#5B401D
RGBrgb(91, 64, 29)
HSLhsl(34, 52%, 24%)
HSVhsv(34, 68%, 36%)
CMYKcmyk(0%, 29.7%, 68.1%, 64.3%)
CIE-LABlab(29.36, 7.57, 25.61)
CIE-LCHlch(29.36, 26.70, 73.53°)
OKLaboklab(39.39% 0.02 0.0592)
OKLCHoklch(39.39% 0.063 71.3)
XYZxyz(6.3699, 5.9801, 1.9809)
Luminance0.0598 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B401D #1D385B
analogous
#5B211D #5B401D #575B1D
triadic
#5B401D #1D5B40 #401D5B
tetradic
#5B401D #1D5B21 #1D385B #5B1D57
square
#5B401D #1D5B21 #1D385B #5B1D57
split-complementary
#5B401D #1D575B #211D5B
monochromatic
#171007 #2D1F0E #5B401D #89612C #B8813B

Accessibility & contrast

On white

9.56
#5B401D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#5B401D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B401D
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B401D#FFFFFF#000000##FFFFFF
##5B401D1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49411A
Deuteranopia (green-blind)
#50481E
Tritanopia (blue-blind)
#633938
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5b401d;
/* rgb */ color: rgb(91, 64, 29);
/* oklch */ color: oklch(39.4% 0.063 71.3);
Tailwind
colors: {
  custom: {
    50: '#8c745a',
    500: '#5b401d',
    950: '#000000',
  },
}
SCSS
$custom: #5b401d;
$custom-light: #8c745a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b401d",
  "rgb": {
    "r": 91,
    "g": 64,
    "b": 29
  },
  "hsl": {
    "h": 33.871,
    "s": 51.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.39385,
    "c": 0.06253,
    "h": 71.3
  },
  "luminance": 0.0598
}

Semantic roles & 50–950 ramp

primary
#5B401D
secondary
#446590
accent
#8BDB4D
background
#F8F7F5
surface
#F0EDE9
border
#CBC8C5
text
#0C0804
muted
#7D7B79

Preview Lab

Preview with #5B401D

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

Preview Lab → · Contrast checker → · Palette generator →

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