#5B2813#5B2813

#5B2813 is a dark, moderate orange. Relative luminance 0.038; OKLCH L 34.4% C 0.082 H 41.8°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#5B2813
RGBrgb(91, 40, 19)
HSLhsl(18, 65%, 22%)
HSVhsv(18, 79%, 36%)
CMYKcmyk(0%, 56%, 79.1%, 64.3%)
CIE-LABlab(22.96, 21.76, 24.28)
CIE-LCHlch(22.96, 32.61, 48.13°)
OKLaboklab(34.41% 0.0609 0.0544)
OKLCHoklch(34.41% 0.082 41.8)
XYZxyz(5.1912, 3.7894, 1.0740)
Luminance0.0379 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B2813 #13465B
analogous
#5B1322 #5B2813 #5B4C13
triadic
#5B2813 #135B28 #28135B
tetradic
#5B2813 #225B13 #13465B #4C135B
square
#5B2813 #225B13 #13465B #4C135B
split-complementary
#5B2813 #135B4C #13225B
monochromatic
#190B05 #281208 #5B2813 #8E3E1E #C05528

Accessibility & contrast

On white

11.95
#5B2813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#5B2813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B2813
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B2813#FFFFFF#000000##FFFFFF
##5B28131.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363011
Deuteranopia (green-blind)
#423B12
Tritanopia (blue-blind)
#641D23
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5b2813;
/* rgb */ color: rgb(91, 40, 19);
/* oklch */ color: oklch(34.4% 0.082 41.8);
Tailwind
colors: {
  custom: {
    50: '#8e6351',
    500: '#5b2813',
    950: '#000000',
  },
}
SCSS
$custom: #5b2813;
$custom-light: #8e6351;
$custom-dark: #000000;
JSON
{
  "hex": "#5b2813",
  "rgb": {
    "r": 91,
    "g": 40,
    "b": 19
  },
  "hsl": {
    "h": 17.5,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.34406,
    "c": 0.08165,
    "h": 41.8
  },
  "luminance": 0.03789
}

Semantic roles & 50–950 ramp

primary
#5B2813
secondary
#377893
accent
#B7E83F
background
#F9F5F4
surface
#F1EAE7
border
#CBC6C3
text
#0D0502
muted
#7E7978

Preview Lab

Preview with #5B2813

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

Preview Lab → · Contrast checker → · Palette generator →

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