#5D401B#5D401B

#5D401B is a dark, moderate orange. Relative luminance 0.061; OKLCH L 39.6% C 0.066 H 70.4°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#5D401B
RGBrgb(93, 64, 27)
HSLhsl(34, 55%, 24%)
HSVhsv(34, 71%, 36%)
CMYKcmyk(0%, 31.2%, 71%, 63.5%)
CIE-LABlab(29.60, 8.41, 27.07)
CIE-LCHlch(29.60, 28.34, 72.74°)
OKLaboklab(39.62% 0.022 0.062)
OKLCHoklch(39.62% 0.066 70.4)
XYZxyz(6.5459, 6.0736, 1.8643)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D401B #1B385D
analogous
#5D1F1B #5D401B #595D1B
triadic
#5D401B #1B5D40 #401B5D
tetradic
#5D401B #1B5D1F #1B385D #5D1B59
square
#5D401B #1B5D1F #1B385D #5D1B59
split-complementary
#5D401B #1B595D #1F1B5D
monochromatic
#181007 #2E1F0D #5D401B #8C6129 #BC8137

Accessibility & contrast

On white

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

On black

2.21
#5D401B on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5D401B#FFFFFF#000000##FFFFFF
##5D401B1.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4217
Deuteranopia (green-blind)
#51481C
Tritanopia (blue-blind)
#663938
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5d401b;
/* rgb */ color: rgb(93, 64, 27);
/* oklch */ color: oklch(39.6% 0.066 70.4);
Tailwind
colors: {
  custom: {
    50: '#8e7459',
    500: '#5d401b',
    950: '#000000',
  },
}
SCSS
$custom: #5d401b;
$custom-light: #8e7459;
$custom-dark: #000000;
JSON
{
  "hex": "#5d401b",
  "rgb": {
    "r": 93,
    "g": 64,
    "b": 27
  },
  "hsl": {
    "h": 33.636,
    "s": 55,
    "l": 23.529
  },
  "oklch": {
    "l": 0.39618,
    "c": 0.06576,
    "h": 70.4
  },
  "luminance": 0.06073
}

Semantic roles & 50–950 ramp

primary
#5D401B
secondary
#416593
accent
#8BDE49
background
#F9F7F5
surface
#F1EDE9
border
#CBC8C5
text
#0D0803
muted
#7E7B78

Preview Lab

Preview with #5D401B

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

Preview Lab → · Contrast checker → · Palette generator →

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