#5B402D#5B402D

#5B402D is a dark, muted orange. Relative luminance 0.061; OKLCH L 39.7% C 0.048 H 56.0°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#5B402D
RGBrgb(91, 64, 45)
HSLhsl(25, 34%, 27%)
HSVhsv(25, 51%, 36%)
CMYKcmyk(0%, 29.7%, 50.5%, 64.3%)
CIE-LABlab(29.62, 9.12, 16.25)
CIE-LCHlch(29.62, 18.63, 60.70°)
OKLaboklab(39.66% 0.027 0.04)
OKLCHoklch(39.66% 0.048 56)
XYZxyz(6.6217, 6.0809, 3.3071)
Luminance0.0608 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B402D #2D485B
analogous
#5B2D31 #5B402D #5B572D
triadic
#5B402D #2D5B40 #402D5B
tetradic
#5B402D #315B2D #2D485B #572D5B
square
#5B402D #315B2D #2D485B #572D5B
split-complementary
#5B402D #2D5B57 #2D315B
monochromatic
#140E0A #322319 #5B402D #845D41 #AC7A57

Accessibility & contrast

On white

9.48
#5B402D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#5B402D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B402D
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B402D#FFFFFF#000000##FFFFFF
##5B402D1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48422C
Deuteranopia (green-blind)
#4E482D
Tritanopia (blue-blind)
#623B3B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5b402d;
/* rgb */ color: rgb(91, 64, 45);
/* oklch */ color: oklch(39.7% 0.048 56.0);
Tailwind
colors: {
  custom: {
    50: '#8b7466',
    500: '#5b402d',
    950: '#000000',
  },
}
SCSS
$custom: #5b402d;
$custom-light: #8b7466;
$custom-dark: #000000;
JSON
{
  "hex": "#5b402d",
  "rgb": {
    "r": 91,
    "g": 64,
    "b": 45
  },
  "hsl": {
    "h": 24.783,
    "s": 33.824,
    "l": 26.667
  },
  "oklch": {
    "l": 0.39664,
    "c": 0.04823,
    "h": 56
  },
  "luminance": 0.0608
}

Semantic roles & 50–950 ramp

primary
#5B402D
secondary
#57778D
accent
#9DCA5E
background
#F8F7F6
surface
#F0EDEB
border
#CBC8C6
text
#0C0806
muted
#7D7B7A

Preview Lab

Preview with #5B402D

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

Preview Lab → · Contrast checker → · Palette generator →

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