#5B3812#5B3812

#5B3812 is a dark, moderate orange. Relative luminance 0.051; OKLCH L 37.5% C 0.071 H 64.3°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#5B3812
RGBrgb(91, 56, 18)
HSLhsl(31, 67%, 21%)
HSVhsv(31, 80%, 36%)
CMYKcmyk(0%, 38.5%, 80.2%, 64.3%)
CIE-LABlab(27.01, 11.90, 29.05)
CIE-LCHlch(27.01, 31.40, 67.73°)
OKLaboklab(37.51% 0.031 0.0644)
OKLCHoklch(37.51% 0.071 64.3)
XYZxyz(5.8382, 5.0967, 1.2484)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B3812 #12355B
analogous
#5B1412 #5B3812 #5A5B12
triadic
#5B3812 #125B38 #38125B
tetradic
#5B3812 #125B14 #12355B #5B125A
square
#5B3812 #125B14 #12355B #5B125A
split-complementary
#5B3812 #125A5B #14125B
monochromatic
#1A1005 #281908 #5B3812 #8E571C #C17726

Accessibility & contrast

On white

10.40
#5B3812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#5B3812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B3812
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B3812#FFFFFF#000000##FFFFFF
##5B38121.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0D
Deuteranopia (green-blind)
#4B4313
Tritanopia (blue-blind)
#643030
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5b3812;
/* rgb */ color: rgb(91, 56, 18);
/* oklch */ color: oklch(37.5% 0.071 64.3);
Tailwind
colors: {
  custom: {
    50: '#8d6e52',
    500: '#5b3812',
    950: '#000000',
  },
}
SCSS
$custom: #5b3812;
$custom-light: #8d6e52;
$custom-dark: #000000;
JSON
{
  "hex": "#5b3812",
  "rgb": {
    "r": 91,
    "g": 56,
    "b": 18
  },
  "hsl": {
    "h": 31.233,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.37514,
    "c": 0.07148,
    "h": 64.3
  },
  "luminance": 0.05096
}

Semantic roles & 50–950 ramp

primary
#5B3812
secondary
#356293
accent
#90EA3E
background
#F9F6F4
surface
#F1ECE7
border
#CBC7C3
text
#0D0702
muted
#7E7A78

Preview Lab

Preview with #5B3812

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

Preview Lab → · Contrast checker → · Palette generator →

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