#5B421B#5B421B

#5B421B is a dark, moderate orange. Relative luminance 0.062; OKLCH L 39.8% C 0.065 H 76.0°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#5B421B
RGBrgb(91, 66, 27)
HSLhsl(37, 54%, 23%)
HSVhsv(37, 70%, 36%)
CMYKcmyk(0%, 27.5%, 70.3%, 64.3%)
CIE-LABlab(29.91, 6.16, 27.35)
CIE-LCHlch(29.91, 28.03, 77.30°)
OKLaboklab(39.81% 0.0156 0.0626)
OKLCHoklch(39.81% 0.065 76)
XYZxyz(6.4608, 6.2002, 1.8932)
Luminance0.0620 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B421B #1B345B
analogous
#5B221B #5B421B #545B1B
triadic
#5B421B #1B5B42 #421B5B
tetradic
#5B421B #1B5B22 #1B345B #5B1B54
square
#5B421B #1B5B22 #1B345B #5B1B54
split-complementary
#5B421B #1B545B #221B5B
monochromatic
#181107 #2C200D #5B421B #8A6429 #B98637

Accessibility & contrast

On white

9.38
#5B421B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#5B421B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B421B
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B421B#FFFFFF#000000##FFFFFF
##5B421B1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4317
Deuteranopia (green-blind)
#51491C
Tritanopia (blue-blind)
#633B39
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5b421b;
/* rgb */ color: rgb(91, 66, 27);
/* oklch */ color: oklch(39.8% 0.065 76.0);
Tailwind
colors: {
  custom: {
    50: '#8c7659',
    500: '#5b421b',
    950: '#000000',
  },
}
SCSS
$custom: #5b421b;
$custom-light: #8c7659;
$custom-dark: #000000;
JSON
{
  "hex": "#5b421b",
  "rgb": {
    "r": 91,
    "g": 66,
    "b": 27
  },
  "hsl": {
    "h": 36.563,
    "s": 54.237,
    "l": 23.137
  },
  "oklch": {
    "l": 0.39807,
    "c": 0.06454,
    "h": 76
  },
  "luminance": 0.062
}

Semantic roles & 50–950 ramp

primary
#5B421B
secondary
#416091
accent
#84DE4A
background
#F8F7F5
surface
#F0EDE9
border
#CBC8C5
text
#0C0803
muted
#7D7B78

Preview Lab

Preview with #5B421B

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

Preview Lab → · Contrast checker → · Palette generator →

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