#5A401B#5A401B

#5A401B is a dark, moderate orange. Relative luminance 0.059; OKLCH L 39.2% C 0.064 H 73.6°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#5A401B
RGBrgb(90, 64, 27)
HSLhsl(35, 54%, 23%)
HSVhsv(35, 70%, 35%)
CMYKcmyk(0%, 28.9%, 70%, 64.7%)
CIE-LABlab(29.21, 6.92, 26.53)
CIE-LCHlch(29.21, 27.42, 75.38°)
OKLaboklab(39.23% 0.0179 0.0609)
OKLCHoklch(39.23% 0.064 73.6)
XYZxyz(6.2481, 5.9201, 1.8503)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A401B #1B355A
analogous
#5A201B #5A401B #545A1B
triadic
#5A401B #1B5A40 #401B5A
tetradic
#5A401B #1B5A20 #1B355A #5A1B54
square
#5A401B #1B5A20 #1B355A #5A1B54
split-complementary
#5A401B #1B545A #201B5A
monochromatic
#181107 #2B1F0D #5A401B #896129 #B88337

Accessibility & contrast

On white

9.62
#5A401B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#5A401B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A401B
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A401B#FFFFFF#000000##FFFFFF
##5A401B1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494117
Deuteranopia (green-blind)
#4F471C
Tritanopia (blue-blind)
#623938
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5a401b;
/* rgb */ color: rgb(90, 64, 27);
/* oklch */ color: oklch(39.2% 0.064 73.6);
Tailwind
colors: {
  custom: {
    50: '#8b7459',
    500: '#5a401b',
    950: '#000000',
  },
}
SCSS
$custom: #5a401b;
$custom-light: #8b7459;
$custom-dark: #000000;
JSON
{
  "hex": "#5a401b",
  "rgb": {
    "r": 90,
    "g": 64,
    "b": 27
  },
  "hsl": {
    "h": 35.238,
    "s": 53.846,
    "l": 22.941
  },
  "oklch": {
    "l": 0.39229,
    "c": 0.0635,
    "h": 73.6
  },
  "luminance": 0.0592
}

Semantic roles & 50–950 ramp

primary
#5A401B
secondary
#416290
accent
#87DD4B
background
#F8F7F5
surface
#F0EDE9
border
#CBC8C5
text
#0C0803
muted
#7D7B78

Preview Lab

Preview with #5A401B

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

Preview Lab → · Contrast checker → · Palette generator →

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