#5A3811#5A3811

#5A3811 is a dark, moderate orange. Relative luminance 0.050; OKLCH L 37.4% C 0.071 H 65.7°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#5A3811
RGBrgb(90, 56, 17)
HSLhsl(32, 68%, 21%)
HSVhsv(32, 81%, 35%)
CMYKcmyk(0%, 37.8%, 81.1%, 64.7%)
CIE-LABlab(26.86, 11.35, 29.36)
CIE-LCHlch(26.86, 31.48, 68.86°)
OKLaboklab(37.36% 0.0293 0.0649)
OKLCHoklch(37.36% 0.071 65.7)
XYZxyz(5.7322, 5.0430, 1.2017)
Luminance0.0504 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A3811 #11335A
analogous
#5A1411 #5A3811 #575A11
triadic
#5A3811 #115A38 #38115A
tetradic
#5A3811 #115A14 #11335A #5A1157
square
#5A3811 #115A14 #11335A #5A1157
split-complementary
#5A3811 #11575A #14115A
monochromatic
#1A1005 #271807 #5A3811 #8D581B #C17824

Accessibility & contrast

On white

10.46
#5A3811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#5A3811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A3811
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A3811#FFFFFF#000000##FFFFFF
##5A38111.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0C
Deuteranopia (green-blind)
#4B4312
Tritanopia (blue-blind)
#633030
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5a3811;
/* rgb */ color: rgb(90, 56, 17);
/* oklch */ color: oklch(37.4% 0.071 65.7);
Tailwind
colors: {
  custom: {
    50: '#8d6e52',
    500: '#5a3811',
    950: '#000000',
  },
}
SCSS
$custom: #5a3811;
$custom-light: #8d6e52;
$custom-dark: #000000;
JSON
{
  "hex": "#5a3811",
  "rgb": {
    "r": 90,
    "g": 56,
    "b": 17
  },
  "hsl": {
    "h": 32.055,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.37363,
    "c": 0.07119,
    "h": 65.7
  },
  "luminance": 0.05042
}

Semantic roles & 50–950 ramp

primary
#5A3811
secondary
#346093
accent
#8EEB3D
background
#F9F6F4
surface
#F1ECE7
border
#CBC7C3
text
#0D0702
muted
#7E7A78

Preview Lab

Preview with #5A3811

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

Preview Lab → · Contrast checker → · Palette generator →

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