#5B400C#5B400C

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

Color values

HEX#5B400C
RGBrgb(91, 64, 12)
HSLhsl(39, 77%, 20%)
HSVhsv(39, 87%, 36%)
CMYKcmyk(0%, 29.7%, 86.8%, 64.3%)
CIE-LABlab(29.20, 6.58, 33.90)
CIE-LCHlch(29.20, 34.53, 79.01°)
OKLaboklab(39.21% 0.0147 0.0732)
OKLCHoklch(39.21% 0.075 78.7)
XYZxyz(6.2146, 5.9180, 1.1627)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B400C #0C275B
analogous
#5B190C #5B400C #4E5B0C
triadic
#5B400C #0C5B40 #400C5B
tetradic
#5B400C #0C5B19 #0C275B #5B0C4E
square
#5B400C #0C5B19 #0C275B #5B0C4E
split-complementary
#5B400C #0C4E5B #190C5B
monochromatic
#1B1304 #251A05 #5B400C #916613 #C78C1A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B400C#FFFFFF#000000##FFFFFF
##5B400C1.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)
#4A4103
Deuteranopia (green-blind)
#51480E
Tritanopia (blue-blind)
#643836
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5b400c;
/* rgb */ color: rgb(91, 64, 12);
/* oklch */ color: oklch(39.2% 0.075 78.7);
Tailwind
colors: {
  custom: {
    50: '#8d7450',
    500: '#5b400c',
    950: '#000000',
  },
}
SCSS
$custom: #5b400c;
$custom-light: #8d7450;
$custom-dark: #000000;
JSON
{
  "hex": "#5b400c",
  "rgb": {
    "r": 91,
    "g": 64,
    "b": 12
  },
  "hsl": {
    "h": 39.494,
    "s": 76.699,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39211,
    "c": 0.07467,
    "h": 78.7
  },
  "luminance": 0.05917
}

Semantic roles & 50–950 ramp

primary
#5B400C
secondary
#2D5196
accent
#76F335
background
#F9F7F4
surface
#F1EDE7
border
#CBC8C3
text
#0D0802
muted
#7E7B78

Preview Lab

Preview with #5B400C

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

Preview Lab → · Contrast checker → · Palette generator →

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