#5B420D#5B420D

#5B420D is a dark, moderate orange. Relative luminance 0.061; OKLCH L 39.7% C 0.075 H 81.3°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#5B420D
RGBrgb(91, 66, 13)
HSLhsl(41, 75%, 20%)
HSVhsv(41, 86%, 36%)
CMYKcmyk(0%, 27.5%, 85.7%, 64.3%)
CIE-LABlab(29.79, 5.37, 34.02)
CIE-LCHlch(29.79, 34.44, 81.03°)
OKLaboklab(39.67% 0.0113 0.0738)
OKLCHoklch(39.67% 0.075 81.3)
XYZxyz(6.3357, 6.1501, 1.2341)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B420D #0D265B
analogous
#5B1B0D #5B420D #4D5B0D
triadic
#5B420D #0D5B42 #420D5B
tetradic
#5B420D #0D5B1B #0D265B #5B0D4D
square
#5B420D #0D5B1B #0D265B #5B0D4D
split-complementary
#5B420D #0D4D5B #1B0D5B
monochromatic
#1B1304 #251B05 #5B420D #916915 #C6901C

Accessibility & contrast

On white

9.42
#5B420D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#5B420D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B420D
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B420D#FFFFFF#000000##FFFFFF
##5B420D1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4204
Deuteranopia (green-blind)
#524910
Tritanopia (blue-blind)
#643B38
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5b420d;
/* rgb */ color: rgb(91, 66, 13);
/* oklch */ color: oklch(39.7% 0.075 81.3);
Tailwind
colors: {
  custom: {
    50: '#8d7651',
    500: '#5b420d',
    950: '#000000',
  },
}
SCSS
$custom: #5b420d;
$custom-light: #8d7651;
$custom-dark: #000000;
JSON
{
  "hex": "#5b420d",
  "rgb": {
    "r": 91,
    "g": 66,
    "b": 13
  },
  "hsl": {
    "h": 40.769,
    "s": 75,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3967,
    "c": 0.0746,
    "h": 81.3
  },
  "luminance": 0.0615
}

Semantic roles & 50–950 ramp

primary
#5B420D
secondary
#2F4F95
accent
#72F236
background
#F9F7F4
surface
#F1EDE7
border
#CBC8C3
text
#0D0802
muted
#7E7B78

Preview Lab

Preview with #5B420D

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

Preview Lab → · Contrast checker → · Palette generator →

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