#5B4812#5B4812

#5B4812 is a dark, moderate orange. Relative luminance 0.069; OKLCH L 41.1% C 0.074 H 88.6°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#5B4812
RGBrgb(91, 72, 18)
HSLhsl(44, 67%, 21%)
HSVhsv(44, 80%, 36%)
CMYKcmyk(0%, 20.9%, 80.2%, 64.3%)
CIE-LABlab(31.59, 1.86, 33.58)
CIE-LCHlch(31.59, 33.63, 86.83°)
OKLaboklab(41.09% 0.0018 0.074)
OKLCHoklch(41.09% 0.074 88.6)
XYZxyz(6.7413, 6.9030, 1.5495)
Luminance0.0690 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4812 #12255B
analogous
#5B2412 #5B4812 #4A5B12
triadic
#5B4812 #125B48 #48125B
tetradic
#5B4812 #125B24 #12255B #5B124A
square
#5B4812 #125B24 #12255B #5B124A
split-complementary
#5B4812 #124A5B #24125B
monochromatic
#1A1405 #282008 #5B4812 #8E701C #C19926

Accessibility & contrast

On white

8.82
#5B4812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#5B4812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B4812
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4812#FFFFFF#000000##FFFFFF
##5B48121.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514709
Deuteranopia (green-blind)
#564C15
Tritanopia (blue-blind)
#63413D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5b4812;
/* rgb */ color: rgb(91, 72, 18);
/* oklch */ color: oklch(41.1% 0.074 88.6);
Tailwind
colors: {
  custom: {
    50: '#8d7a54',
    500: '#5b4812',
    950: '#000000',
  },
}
SCSS
$custom: #5b4812;
$custom-light: #8d7a54;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4812",
  "rgb": {
    "r": 91,
    "g": 72,
    "b": 18
  },
  "hsl": {
    "h": 44.384,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41093,
    "c": 0.07405,
    "h": 88.6
  },
  "luminance": 0.06903
}

Semantic roles & 50–950 ramp

primary
#5B4812
secondary
#354E93
accent
#6BEA3E
background
#F8F7F5
surface
#F0EDE8
border
#CBC8C4
text
#0D0903
muted
#7D7B78

Preview Lab

Preview with #5B4812

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

Preview Lab → · Contrast checker → · Palette generator →

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