#5B2A12#5B2A12

#5B2A12 is a dark, moderate orange. Relative luminance 0.039; OKLCH L 34.8% C 0.080 H 44.8°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#5B2A12
RGBrgb(91, 42, 18)
HSLhsl(20, 67%, 21%)
HSVhsv(20, 80%, 36%)
CMYKcmyk(0%, 53.8%, 80.2%, 64.3%)
CIE-LABlab(23.42, 20.53, 25.35)
CIE-LCHlch(23.42, 32.62, 51.00°)
OKLaboklab(34.75% 0.0569 0.0565)
OKLCHoklch(34.75% 0.08 44.8)
XYZxyz(5.2520, 3.9244, 1.0531)
Luminance0.0392 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B2A12 #12435B
analogous
#5B121F #5B2A12 #5B4F12
triadic
#5B2A12 #125B2A #2A125B
tetradic
#5B2A12 #1F5B12 #12435B #4F125B
square
#5B2A12 #1F5B12 #12435B #4F125B
split-complementary
#5B2A12 #125B4F #121F5B
monochromatic
#1A0C05 #281208 #5B2A12 #8E421C #C15926

Accessibility & contrast

On white

11.77
#5B2A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#5B2A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B2A12
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B2A12#FFFFFF#000000##FFFFFF
##5B2A121.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38310F
Deuteranopia (green-blind)
#443C11
Tritanopia (blue-blind)
#642025
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5b2a12;
/* rgb */ color: rgb(91, 42, 18);
/* oklch */ color: oklch(34.8% 0.080 44.8);
Tailwind
colors: {
  custom: {
    50: '#8e6451',
    500: '#5b2a12',
    950: '#000000',
  },
}
SCSS
$custom: #5b2a12;
$custom-light: #8e6451;
$custom-dark: #000000;
JSON
{
  "hex": "#5b2a12",
  "rgb": {
    "r": 91,
    "g": 42,
    "b": 18
  },
  "hsl": {
    "h": 19.726,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.34751,
    "c": 0.08018,
    "h": 44.8
  },
  "luminance": 0.03924
}

Semantic roles & 50–950 ramp

primary
#5B2A12
secondary
#357593
accent
#B1EA3E
background
#F9F6F4
surface
#F1EBE7
border
#CBC6C3
text
#0D0502
muted
#7E7A78

Preview Lab

Preview with #5B2A12

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

Preview Lab → · Contrast checker → · Palette generator →

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