#5B331A#5B331A

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

Color values

HEX#5B331A
RGBrgb(91, 51, 26)
HSLhsl(23, 56%, 23%)
HSVhsv(23, 71%, 36%)
CMYKcmyk(0%, 44%, 71.4%, 64.3%)
CIE-LABlab(25.76, 15.52, 23.24)
CIE-LCHlch(25.76, 27.95, 56.26°)
OKLaboklab(36.58% 0.0433 0.0536)
OKLCHoklch(36.58% 0.069 51.1)
XYZxyz(5.6851, 4.6670, 1.5785)
Luminance0.0467 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B331A #1A425B
analogous
#5B1A21 #5B331A #5B531A
triadic
#5B331A #1A5B33 #331A5B
tetradic
#5B331A #215B1A #1A425B #531A5B
square
#5B331A #215B1A #1A425B #531A5B
split-complementary
#5B331A #1A5B53 #1A215B
monochromatic
#180D07 #2B180C #5B331A #8B4E28 #BA6835

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B331A#FFFFFF#000000##FFFFFF
##5B331A1.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)
#3E3818
Deuteranopia (green-blind)
#48401A
Tritanopia (blue-blind)
#642B2D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5b331a;
/* rgb */ color: rgb(91, 51, 26);
/* oklch */ color: oklch(36.6% 0.069 51.1);
Tailwind
colors: {
  custom: {
    50: '#8d6b57',
    500: '#5b331a',
    950: '#000000',
  },
}
SCSS
$custom: #5b331a;
$custom-light: #8d6b57;
$custom-dark: #000000;
JSON
{
  "hex": "#5b331a",
  "rgb": {
    "r": 91,
    "g": 51,
    "b": 26
  },
  "hsl": {
    "h": 23.077,
    "s": 55.556,
    "l": 22.941
  },
  "oklch": {
    "l": 0.36581,
    "c": 0.06892,
    "h": 51.1
  },
  "luminance": 0.04666
}

Semantic roles & 50–950 ramp

primary
#5B331A
secondary
#407291
accent
#A5DF49
background
#F9F6F5
surface
#F1EBE9
border
#CBC6C5
text
#0D0603
muted
#7E7A78

Preview Lab

Preview with #5B331A

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

Preview Lab → · Contrast checker → · Palette generator →

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