#5B341B#5B341B

#5B341B is a dark, moderate orange. Relative luminance 0.048; OKLCH L 36.8% C 0.068 H 51.8°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#5B341B
RGBrgb(91, 52, 27)
HSLhsl(23, 54%, 23%)
HSVhsv(23, 70%, 36%)
CMYKcmyk(0%, 42.9%, 70.3%, 64.3%)
CIE-LABlab(26.04, 14.97, 22.96)
CIE-LCHlch(26.04, 27.41, 56.89°)
OKLaboklab(36.8% 0.0418 0.0532)
OKLCHoklch(36.8% 0.068 51.8)
XYZxyz(5.7406, 4.7598, 1.6531)
Luminance0.0476 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B341B #1B425B
analogous
#5B1B22 #5B341B #5B541B
triadic
#5B341B #1B5B34 #341B5B
tetradic
#5B341B #225B1B #1B425B #541B5B
square
#5B341B #225B1B #1B425B #541B5B
split-complementary
#5B341B #1B5B54 #1B225B
monochromatic
#180D07 #2C190D #5B341B #8A4F29 #B96A37

Accessibility & contrast

On white

10.76
#5B341B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#5B341B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B341B
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B341B#FFFFFF#000000##FFFFFF
##5B341B1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3819
Deuteranopia (green-blind)
#48411B
Tritanopia (blue-blind)
#642C2E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5b341b;
/* rgb */ color: rgb(91, 52, 27);
/* oklch */ color: oklch(36.8% 0.068 51.8);
Tailwind
colors: {
  custom: {
    50: '#8d6b58',
    500: '#5b341b',
    950: '#000000',
  },
}
SCSS
$custom: #5b341b;
$custom-light: #8d6b58;
$custom-dark: #000000;
JSON
{
  "hex": "#5b341b",
  "rgb": {
    "r": 91,
    "g": 52,
    "b": 27
  },
  "hsl": {
    "h": 23.438,
    "s": 54.237,
    "l": 23.137
  },
  "oklch": {
    "l": 0.36797,
    "c": 0.06764,
    "h": 51.8
  },
  "luminance": 0.04759
}

Semantic roles & 50–950 ramp

primary
#5B341B
secondary
#417291
accent
#A4DE4A
background
#F9F6F5
surface
#F1EBE9
border
#CBC6C5
text
#0D0603
muted
#7E7A78

Preview Lab

Preview with #5B341B

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

Preview Lab → · Contrast checker → · Palette generator →

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