#5B2812#5B2812

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

Color values

HEX#5B2812
RGBrgb(91, 40, 18)
HSLhsl(18, 67%, 21%)
HSVhsv(18, 80%, 36%)
CMYKcmyk(0%, 56%, 80.2%, 64.3%)
CIE-LABlab(22.95, 21.71, 24.86)
CIE-LCHlch(22.95, 33.01, 48.87°)
OKLaboklab(34.39% 0.0605 0.0554)
OKLCHoklch(34.39% 0.082 42.5)
XYZxyz(5.1829, 3.7860, 1.0300)
Luminance0.0379 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B2812 #12455B
analogous
#5B1221 #5B2812 #5B4D12
triadic
#5B2812 #125B28 #28125B
tetradic
#5B2812 #215B12 #12455B #4D125B
square
#5B2812 #215B12 #12455B #4D125B
split-complementary
#5B2812 #125B4D #12215B
monochromatic
#1A0B05 #281208 #5B2812 #8E3E1C #C15526

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B2812#FFFFFF#000000##FFFFFF
##5B28121.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)
#36300F
Deuteranopia (green-blind)
#433B11
Tritanopia (blue-blind)
#641D23
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5b2812;
/* rgb */ color: rgb(91, 40, 18);
/* oklch */ color: oklch(34.4% 0.082 42.5);
Tailwind
colors: {
  custom: {
    50: '#8e6351',
    500: '#5b2812',
    950: '#000000',
  },
}
SCSS
$custom: #5b2812;
$custom-light: #8e6351;
$custom-dark: #000000;
JSON
{
  "hex": "#5b2812",
  "rgb": {
    "r": 91,
    "g": 40,
    "b": 18
  },
  "hsl": {
    "h": 18.082,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.34393,
    "c": 0.08204,
    "h": 42.5
  },
  "luminance": 0.03785
}

Semantic roles & 50–950 ramp

primary
#5B2812
secondary
#357793
accent
#B6EA3E
background
#F9F5F4
surface
#F1EAE7
border
#CBC6C3
text
#0D0502
muted
#7E7978

Preview Lab

Preview with #5B2812

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

Preview Lab → · Contrast checker → · Palette generator →

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