#5A3812#5A3812

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

Color values

HEX#5A3812
RGBrgb(90, 56, 18)
HSLhsl(32, 67%, 21%)
HSVhsv(32, 80%, 35%)
CMYKcmyk(0%, 37.8%, 80%, 64.7%)
CIE-LABlab(26.87, 11.40, 28.86)
CIE-LCHlch(26.87, 31.03, 68.44°)
OKLaboklab(37.37% 0.0297 0.064)
OKLCHoklch(37.37% 0.071 65.2)
XYZxyz(5.7402, 5.0462, 1.2439)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A3812 #12345A
analogous
#5A1412 #5A3812 #585A12
triadic
#5A3812 #125A38 #38125A
tetradic
#5A3812 #125A14 #12345A #5A1258
square
#5A3812 #125A14 #12345A #5A1258
split-complementary
#5A3812 #12585A #14125A
monochromatic
#1A1005 #271808 #5A3812 #8D581C #C07726

Accessibility & contrast

On white

10.45
#5A3812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A3812
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A3812#FFFFFF#000000##FFFFFF
##5A38121.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a3812;
/* rgb */ color: rgb(90, 56, 18);
/* oklch */ color: oklch(37.4% 0.071 65.2);
Tailwind
colors: {
  custom: {
    50: '#8d6e52',
    500: '#5a3812',
    950: '#000000',
  },
}
SCSS
$custom: #5a3812;
$custom-light: #8d6e52;
$custom-dark: #000000;
JSON
{
  "hex": "#5a3812",
  "rgb": {
    "r": 90,
    "g": 56,
    "b": 18
  },
  "hsl": {
    "h": 31.667,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.37373,
    "c": 0.07057,
    "h": 65.2
  },
  "luminance": 0.05046
}

Semantic roles & 50–950 ramp

primary
#5A3812
secondary
#356193
accent
#8FEA3E
background
#F9F6F4
surface
#F1ECE7
border
#CBC7C3
text
#0D0702
muted
#7E7A78

Preview Lab

Preview with #5A3812

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

Preview Lab → · Contrast checker → · Palette generator →

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