#5B420E#5B420E

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

Color values

HEX#5B420E
RGBrgb(91, 66, 14)
HSLhsl(41, 73%, 21%)
HSVhsv(41, 85%, 36%)
CMYKcmyk(0%, 27.5%, 84.6%, 64.3%)
CIE-LABlab(29.79, 5.41, 33.61)
CIE-LCHlch(29.79, 34.05, 80.85°)
OKLaboklab(39.68% 0.0115 0.0731)
OKLCHoklch(39.68% 0.074 81.1)
XYZxyz(6.3423, 6.1528, 1.2689)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B420E #0E275B
analogous
#5B1B0E #5B420E #4D5B0E
triadic
#5B420E #0E5B42 #420E5B
tetradic
#5B420E #0E5B1B #0E275B #5B0E4D
square
#5B420E #0E5B1B #0E275B #5B0E4D
split-complementary
#5B420E #0E4D5B #1B0E5B
monochromatic
#1B1304 #261C06 #5B420E #906816 #C58F1E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B420E#FFFFFF#000000##FFFFFF
##5B420E1.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)
#4C4205
Deuteranopia (green-blind)
#524910
Tritanopia (blue-blind)
#643B38
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5b420e;
/* rgb */ color: rgb(91, 66, 14);
/* oklch */ color: oklch(39.7% 0.074 81.1);
Tailwind
colors: {
  custom: {
    50: '#8d7651',
    500: '#5b420e',
    950: '#000000',
  },
}
SCSS
$custom: #5b420e;
$custom-light: #8d7651;
$custom-dark: #000000;
JSON
{
  "hex": "#5b420e",
  "rgb": {
    "r": 91,
    "g": 66,
    "b": 14
  },
  "hsl": {
    "h": 40.519,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.39677,
    "c": 0.07403,
    "h": 81.1
  },
  "luminance": 0.06152
}

Semantic roles & 50–950 ramp

primary
#5B420E
secondary
#305195
accent
#74F038
background
#F9F7F4
surface
#F1EDE7
border
#CBC8C3
text
#0D0802
muted
#7E7B78

Preview Lab

Preview with #5B420E

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

Preview Lab → · Contrast checker → · Palette generator →

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