#5B371B#5B371B

#5B371B is a dark, moderate orange. Relative luminance 0.050; OKLCH L 37.4% C 0.066 H 56.8°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#5B371B
RGBrgb(91, 55, 27)
HSLhsl(26, 54%, 23%)
HSVhsv(26, 70%, 36%)
CMYKcmyk(0%, 39.6%, 70.3%, 64.3%)
CIE-LABlab(26.84, 13.09, 23.88)
CIE-LCHlch(26.84, 27.23, 61.27°)
OKLaboklab(37.41% 0.0361 0.0552)
OKLCHoklch(37.41% 0.066 56.8)
XYZxyz(5.8788, 5.0362, 1.6992)
Luminance0.0504 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B371B #1B3F5B
analogous
#5B1B1F #5B371B #5B571B
triadic
#5B371B #1B5B37 #371B5B
tetradic
#5B371B #1F5B1B #1B3F5B #571B5B
square
#5B371B #1F5B1B #1B3F5B #571B5B
split-complementary
#5B371B #1B5B57 #1B1F5B
monochromatic
#180E07 #2C1A0D #5B371B #8A5429 #B97037

Accessibility & contrast

On white

10.46
#5B371B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#5B371B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B371B
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B371B#FFFFFF#000000##FFFFFF
##5B371B1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B18
Deuteranopia (green-blind)
#4A431B
Tritanopia (blue-blind)
#642F31
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5b371b;
/* rgb */ color: rgb(91, 55, 27);
/* oklch */ color: oklch(37.4% 0.066 56.8);
Tailwind
colors: {
  custom: {
    50: '#8d6e58',
    500: '#5b371b',
    950: '#000000',
  },
}
SCSS
$custom: #5b371b;
$custom-light: #8d6e58;
$custom-dark: #000000;
JSON
{
  "hex": "#5b371b",
  "rgb": {
    "r": 91,
    "g": 55,
    "b": 27
  },
  "hsl": {
    "h": 26.25,
    "s": 54.237,
    "l": 23.137
  },
  "oklch": {
    "l": 0.37414,
    "c": 0.06596,
    "h": 56.8
  },
  "luminance": 0.05036
}

Semantic roles & 50–950 ramp

primary
#5B371B
secondary
#416E91
accent
#9DDE4A
background
#F8F6F5
surface
#F0EBE9
border
#CBC6C5
text
#0D0703
muted
#7D7A78

Preview Lab

Preview with #5B371B

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

Preview Lab → · Contrast checker → · Palette generator →

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