#5B3F0C#5B3F0C

#5B3F0C is a dark, moderate orange. Relative luminance 0.058; OKLCH L 39.0% C 0.074 H 77.2°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#5B3F0C
RGBrgb(91, 63, 12)
HSLhsl(39, 77%, 20%)
HSVhsv(39, 87%, 36%)
CMYKcmyk(0%, 30.8%, 86.8%, 64.3%)
CIE-LABlab(28.92, 7.21, 33.64)
CIE-LCHlch(28.92, 34.40, 77.90°)
OKLaboklab(38.99% 0.0165 0.0727)
OKLCHoklch(38.99% 0.075 77.2)
XYZxyz(6.1587, 5.8062, 1.1441)
Luminance0.0581 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B3F0C #0C285B
analogous
#5B170C #5B3F0C #4F5B0C
triadic
#5B3F0C #0C5B3F #3F0C5B
tetradic
#5B3F0C #0C5B17 #0C285B #5B0C4F
square
#5B3F0C #0C5B17 #0C285B #5B0C4F
split-complementary
#5B3F0C #0C4F5B #170C5B
monochromatic
#1B1304 #251A05 #5B3F0C #916413 #C78A1A

Accessibility & contrast

On white

9.72
#5B3F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#5B3F0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B3F0C
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B3F0C#FFFFFF#000000##FFFFFF
##5B3F0C1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494004
Deuteranopia (green-blind)
#50470E
Tritanopia (blue-blind)
#643735
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5b3f0c;
/* rgb */ color: rgb(91, 63, 12);
/* oklch */ color: oklch(39.0% 0.074 77.2);
Tailwind
colors: {
  custom: {
    50: '#8d7350',
    500: '#5b3f0c',
    950: '#000000',
  },
}
SCSS
$custom: #5b3f0c;
$custom-light: #8d7350;
$custom-dark: #000000;
JSON
{
  "hex": "#5b3f0c",
  "rgb": {
    "r": 91,
    "g": 63,
    "b": 12
  },
  "hsl": {
    "h": 38.734,
    "s": 76.699,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38987,
    "c": 0.0745,
    "h": 77.2
  },
  "luminance": 0.05806
}

Semantic roles & 50–950 ramp

primary
#5B3F0C
secondary
#2D5296
accent
#78F335
background
#F9F7F4
surface
#F1EDE7
border
#CBC8C3
text
#0D0802
muted
#7E7B78

Preview Lab

Preview with #5B3F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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