#5B331E#5B331E

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

Color values

HEX#5B331E
RGBrgb(91, 51, 30)
HSLhsl(21, 50%, 24%)
HSVhsv(21, 67%, 36%)
CMYKcmyk(0%, 44%, 67%, 64.3%)
CIE-LABlab(25.82, 15.82, 20.87)
CIE-LCHlch(25.82, 26.19, 52.83°)
OKLaboklab(36.64% 0.0449 0.0491)
OKLCHoklch(36.64% 0.067 47.5)
XYZxyz(5.7330, 4.6861, 1.8306)
Luminance0.0469 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B331E #1E465B
analogous
#5B1E27 #5B331E #5B511E
triadic
#5B331E #1E5B33 #331E5B
tetradic
#5B331E #275B1E #1E465B #511E5B
square
#5B331E #275B1E #1E465B #511E5B
split-complementary
#5B331E #1E5B51 #1E275B
monochromatic
#170D08 #2D190F #5B331E #894D2D #B7673C

Accessibility & contrast

On white

10.84
#5B331E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#5B331E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B331E
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B331E#FFFFFF#000000##FFFFFF
##5B331E1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E381C
Deuteranopia (green-blind)
#48411E
Tritanopia (blue-blind)
#642B2E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5b331e;
/* rgb */ color: rgb(91, 51, 30);
/* oklch */ color: oklch(36.6% 0.067 47.5);
Tailwind
colors: {
  custom: {
    50: '#8d6b5a',
    500: '#5b331e',
    950: '#000000',
  },
}
SCSS
$custom: #5b331e;
$custom-light: #8d6b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b331e",
  "rgb": {
    "r": 91,
    "g": 51,
    "b": 30
  },
  "hsl": {
    "h": 20.656,
    "s": 50.413,
    "l": 23.725
  },
  "oklch": {
    "l": 0.36643,
    "c": 0.06653,
    "h": 47.5
  },
  "luminance": 0.04686
}

Semantic roles & 50–950 ramp

primary
#5B331E
secondary
#457690
accent
#AADA4E
background
#F8F6F5
surface
#F0EBE9
border
#CBC6C5
text
#0D0604
muted
#7D7A79

Preview Lab

Preview with #5B331E

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

Preview Lab → · Contrast checker → · Palette generator →

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