#5A401D#5A401D

#5A401D is a dark, moderate orange. Relative luminance 0.059; OKLCH L 39.3% C 0.062 H 72.4°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#5A401D
RGBrgb(90, 64, 29)
HSLhsl(34, 51%, 23%)
HSVhsv(34, 68%, 35%)
CMYKcmyk(0%, 28.9%, 67.8%, 64.7%)
CIE-LABlab(29.23, 7.08, 25.43)
CIE-LCHlch(29.23, 26.39, 74.45°)
OKLaboklab(39.26% 0.0187 0.0589)
OKLCHoklch(39.26% 0.062 72.4)
XYZxyz(6.2720, 5.9296, 1.9764)
Luminance0.0593 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A401D #1D375A
analogous
#5A211D #5A401D #555A1D
triadic
#5A401D #1D5A40 #401D5A
tetradic
#5A401D #1D5A21 #1D375A #5A1D55
square
#5A401D #1D5A21 #1D375A #5A1D55
split-complementary
#5A401D #1D555A #211D5A
monochromatic
#171007 #2C1F0E #5A401D #88612C #B7823B

Accessibility & contrast

On white

9.61
#5A401D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#5A401D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A401D
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A401D#FFFFFF#000000##FFFFFF
##5A401D1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49411A
Deuteranopia (green-blind)
#4F471E
Tritanopia (blue-blind)
#623938
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5a401d;
/* rgb */ color: rgb(90, 64, 29);
/* oklch */ color: oklch(39.3% 0.062 72.4);
Tailwind
colors: {
  custom: {
    50: '#8b745a',
    500: '#5a401d',
    950: '#000000',
  },
}
SCSS
$custom: #5a401d;
$custom-light: #8b745a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a401d",
  "rgb": {
    "r": 90,
    "g": 64,
    "b": 29
  },
  "hsl": {
    "h": 34.426,
    "s": 51.261,
    "l": 23.333
  },
  "oklch": {
    "l": 0.39256,
    "c": 0.06177,
    "h": 72.4
  },
  "luminance": 0.05929
}

Semantic roles & 50–950 ramp

primary
#5A401D
secondary
#44648F
accent
#89DB4D
background
#F8F7F5
surface
#F0EDE9
border
#CBC8C5
text
#0C0804
muted
#7D7B79

Preview Lab

Preview with #5A401D

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

Preview Lab → · Contrast checker → · Palette generator →

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