#5B331C#5B331C

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

Color values

HEX#5B331C
RGBrgb(91, 51, 28)
HSLhsl(22, 53%, 23%)
HSVhsv(22, 69%, 36%)
CMYKcmyk(0%, 44%, 69.2%, 64.3%)
CIE-LABlab(25.79, 15.67, 22.06)
CIE-LCHlch(25.79, 27.06, 54.62°)
OKLaboklab(36.61% 0.0441 0.0514)
OKLCHoklch(36.61% 0.068 49.4)
XYZxyz(5.7082, 4.6762, 1.7004)
Luminance0.0468 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B331C #1C445B
analogous
#5B1C24 #5B331C #5B521C
triadic
#5B331C #1C5B33 #331C5B
tetradic
#5B331C #245B1C #1C445B #521C5B
square
#5B331C #245B1C #1C445B #521C5B
split-complementary
#5B331C #1C5B52 #1C245B
monochromatic
#170D07 #2C190E #5B331C #8A4D2A #B96739

Accessibility & contrast

On white

10.85
#5B331C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B331C
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B331C#FFFFFF#000000##FFFFFF
##5B331C1.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b331c;
/* rgb */ color: rgb(91, 51, 28);
/* oklch */ color: oklch(36.6% 0.068 49.4);
Tailwind
colors: {
  custom: {
    50: '#8d6b59',
    500: '#5b331c',
    950: '#000000',
  },
}
SCSS
$custom: #5b331c;
$custom-light: #8d6b59;
$custom-dark: #000000;
JSON
{
  "hex": "#5b331c",
  "rgb": {
    "r": 91,
    "g": 51,
    "b": 28
  },
  "hsl": {
    "h": 21.905,
    "s": 52.941,
    "l": 23.333
  },
  "oklch": {
    "l": 0.36611,
    "c": 0.06771,
    "h": 49.4
  },
  "luminance": 0.04676
}

Semantic roles & 50–950 ramp

primary
#5B331C
secondary
#427490
accent
#A7DC4B
background
#F8F6F5
surface
#F0EBE9
border
#CBC6C5
text
#0D0603
muted
#7D7A78

Preview Lab

Preview with #5B331C

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

Preview Lab → · Contrast checker → · Palette generator →

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