#5B400D#5B400D

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

Color values

HEX#5B400D
RGBrgb(91, 64, 13)
HSLhsl(39, 75%, 20%)
HSVhsv(39, 86%, 36%)
CMYKcmyk(0%, 29.7%, 85.7%, 64.3%)
CIE-LABlab(29.21, 6.62, 33.49)
CIE-LCHlch(29.21, 34.14, 78.81°)
OKLaboklab(39.22% 0.0149 0.0726)
OKLCHoklch(39.22% 0.074 78.4)
XYZxyz(6.2209, 5.9205, 1.1958)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B400D #0D285B
analogous
#5B190D #5B400D #4F5B0D
triadic
#5B400D #0D5B40 #400D5B
tetradic
#5B400D #0D5B19 #0D285B #5B0D4F
square
#5B400D #0D5B19 #0D285B #5B0D4F
split-complementary
#5B400D #0D4F5B #190D5B
monochromatic
#1B1304 #251A05 #5B400D #916615 #C68B1C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B400D#FFFFFF#000000##FFFFFF
##5B400D1.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)
#4A4104
Deuteranopia (green-blind)
#51480F
Tritanopia (blue-blind)
#643836
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5b400d;
/* rgb */ color: rgb(91, 64, 13);
/* oklch */ color: oklch(39.2% 0.074 78.4);
Tailwind
colors: {
  custom: {
    50: '#8d7450',
    500: '#5b400d',
    950: '#000000',
  },
}
SCSS
$custom: #5b400d;
$custom-light: #8d7450;
$custom-dark: #000000;
JSON
{
  "hex": "#5b400d",
  "rgb": {
    "r": 91,
    "g": 64,
    "b": 13
  },
  "hsl": {
    "h": 39.231,
    "s": 75,
    "l": 20.392
  },
  "oklch": {
    "l": 0.39218,
    "c": 0.07412,
    "h": 78.4
  },
  "luminance": 0.0592
}

Semantic roles & 50–950 ramp

primary
#5B400D
secondary
#2F5295
accent
#77F236
background
#F9F7F4
surface
#F1EDE7
border
#CBC8C3
text
#0D0802
muted
#7E7B78

Preview Lab

Preview with #5B400D

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

Preview Lab → · Contrast checker → · Palette generator →

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