#5B331B#5B331B

#5B331B is a dark, moderate orange. Relative luminance 0.047; OKLCH L 36.6% C 0.068 H 50.3°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#5B331B
RGBrgb(91, 51, 27)
HSLhsl(23, 54%, 23%)
HSVhsv(23, 70%, 36%)
CMYKcmyk(0%, 44%, 70.3%, 64.3%)
CIE-LABlab(25.78, 15.60, 22.65)
CIE-LCHlch(25.78, 27.50, 55.46°)
OKLaboklab(36.6% 0.0437 0.0525)
OKLCHoklch(36.6% 0.068 50.3)
XYZxyz(5.6965, 4.6715, 1.6384)
Luminance0.0467 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B331B #1B435B
analogous
#5B1B23 #5B331B #5B531B
triadic
#5B331B #1B5B33 #331B5B
tetradic
#5B331B #235B1B #1B435B #531B5B
square
#5B331B #235B1B #1B435B #531B5B
split-complementary
#5B331B #1B5B53 #1B235B
monochromatic
#180D07 #2C190D #5B331B #8A4D29 #B96837

Accessibility & contrast

On white

10.86
#5B331B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#5B331B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B331B
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B331B#FFFFFF#000000##FFFFFF
##5B331B1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3819
Deuteranopia (green-blind)
#48411B
Tritanopia (blue-blind)
#642B2D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5b331b;
/* rgb */ color: rgb(91, 51, 27);
/* oklch */ color: oklch(36.6% 0.068 50.3);
Tailwind
colors: {
  custom: {
    50: '#8d6b58',
    500: '#5b331b',
    950: '#000000',
  },
}
SCSS
$custom: #5b331b;
$custom-light: #8d6b58;
$custom-dark: #000000;
JSON
{
  "hex": "#5b331b",
  "rgb": {
    "r": 91,
    "g": 51,
    "b": 27
  },
  "hsl": {
    "h": 22.5,
    "s": 54.237,
    "l": 23.137
  },
  "oklch": {
    "l": 0.36596,
    "c": 0.06831,
    "h": 50.3
  },
  "luminance": 0.04671
}

Semantic roles & 50–950 ramp

primary
#5B331B
secondary
#417391
accent
#A6DE4A
background
#F9F6F5
surface
#F1EBE9
border
#CBC6C5
text
#0D0603
muted
#7E7A78

Preview Lab

Preview with #5B331B

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

Preview Lab → · Contrast checker → · Palette generator →

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