#5B400F#5B400F

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

Color values

HEX#5B400F
RGBrgb(91, 64, 15)
HSLhsl(39, 72%, 21%)
HSVhsv(39, 84%, 36%)
CMYKcmyk(0%, 29.7%, 83.5%, 64.3%)
CIE-LABlab(29.22, 6.71, 32.65)
CIE-LCHlch(29.22, 33.33, 78.38°)
OKLaboklab(39.23% 0.0154 0.0713)
OKLCHoklch(39.23% 0.073 77.8)
XYZxyz(6.2344, 5.9259, 1.2673)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B400F #0F2A5B
analogous
#5B1A0F #5B400F #505B0F
triadic
#5B400F #0F5B40 #400F5B
tetradic
#5B400F #0F5B1A #0F2A5B #5B0F50
square
#5B400F #0F5B1A #0F2A5B #5B0F50
split-complementary
#5B400F #0F505B #1A0F5B
monochromatic
#1A1204 #261B06 #5B400F #906518 #C48A20

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B400F#FFFFFF#000000##FFFFFF
##5B400F1.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)
#4A4107
Deuteranopia (green-blind)
#514811
Tritanopia (blue-blind)
#643836
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5b400f;
/* rgb */ color: rgb(91, 64, 15);
/* oklch */ color: oklch(39.2% 0.073 77.8);
Tailwind
colors: {
  custom: {
    50: '#8d7451',
    500: '#5b400f',
    950: '#000000',
  },
}
SCSS
$custom: #5b400f;
$custom-light: #8d7451;
$custom-dark: #000000;
JSON
{
  "hex": "#5b400f",
  "rgb": {
    "r": 91,
    "g": 64,
    "b": 15
  },
  "hsl": {
    "h": 38.684,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.39233,
    "c": 0.07296,
    "h": 77.8
  },
  "luminance": 0.05925
}

Semantic roles & 50–950 ramp

primary
#5B400F
secondary
#315595
accent
#7AEE39
background
#F9F7F4
surface
#F1EDE7
border
#CBC8C3
text
#0D0802
muted
#7E7B78

Preview Lab

Preview with #5B400F

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

Preview Lab → · Contrast checker → · Palette generator →

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