#5B402E#5B402E

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

Color values

HEX#5B402E
RGBrgb(91, 64, 46)
HSLhsl(24, 33%, 27%)
HSVhsv(24, 49%, 36%)
CMYKcmyk(0%, 29.7%, 49.5%, 64.3%)
CIE-LABlab(29.63, 9.24, 15.64)
CIE-LCHlch(29.63, 18.16, 59.43°)
OKLaboklab(39.69% 0.0275 0.0386)
OKLCHoklch(39.69% 0.047 54.6)
XYZxyz(6.6412, 6.0886, 3.4097)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B402E #2E495B
analogous
#5B2E33 #5B402E #5B572E
triadic
#5B402E #2E5B40 #402E5B
tetradic
#5B402E #335B2E #2E495B #572E5B
square
#5B402E #335B2E #2E495B #572E5B
split-complementary
#5B402E #2E5B57 #2E335B
monochromatic
#140E0A #322319 #5B402E #845D43 #AB7959

Accessibility & contrast

On white

9.47
#5B402E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B402E
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B402E#FFFFFF#000000##FFFFFF
##5B402E1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b402e;
/* rgb */ color: rgb(91, 64, 46);
/* oklch */ color: oklch(39.7% 0.047 54.6);
Tailwind
colors: {
  custom: {
    50: '#8b7467',
    500: '#5b402e',
    950: '#000000',
  },
}
SCSS
$custom: #5b402e;
$custom-light: #8b7467;
$custom-dark: #000000;
JSON
{
  "hex": "#5b402e",
  "rgb": {
    "r": 91,
    "g": 64,
    "b": 46
  },
  "hsl": {
    "h": 24,
    "s": 32.847,
    "l": 26.863
  },
  "oklch": {
    "l": 0.39686,
    "c": 0.04739,
    "h": 54.6
  },
  "luminance": 0.06088
}

Semantic roles & 50–950 ramp

primary
#5B402E
secondary
#58788D
accent
#9FC95F
background
#F8F7F6
surface
#F0EDEB
border
#CBC8C6
text
#0C0806
muted
#7D7B7A

Preview Lab

Preview with #5B402E

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

Preview Lab → · Contrast checker → · Palette generator →

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