#5A3D12#5A3D12

#5A3D12 is a dark, moderate orange. Relative luminance 0.056; OKLCH L 38.5% C 0.070 H 73.1°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#5A3D12
RGBrgb(90, 61, 18)
HSLhsl(36, 67%, 21%)
HSVhsv(36, 80%, 35%)
CMYKcmyk(0%, 32.2%, 80%, 64.7%)
CIE-LABlab(28.26, 8.25, 30.27)
CIE-LCHlch(28.26, 31.37, 74.76°)
OKLaboklab(38.46% 0.0204 0.067)
OKLCHoklch(38.46% 0.07 73.1)
XYZxyz(5.9948, 5.5553, 1.3287)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A3D12 #122F5A
analogous
#5A1912 #5A3D12 #535A12
triadic
#5A3D12 #125A3D #3D125A
tetradic
#5A3D12 #125A19 #122F5A #5A1253
square
#5A3D12 #125A19 #122F5A #5A1253
split-complementary
#5A3D12 #12535A #19125A
monochromatic
#1A1105 #271A08 #5A3D12 #8D601C #C08226

Accessibility & contrast

On white

9.95
#5A3D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#5A3D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A3D12
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A3D12#FFFFFF#000000##FFFFFF
##5A3D121.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F0C
Deuteranopia (green-blind)
#4E4513
Tritanopia (blue-blind)
#633634
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5a3d12;
/* rgb */ color: rgb(90, 61, 18);
/* oklch */ color: oklch(38.5% 0.070 73.1);
Tailwind
colors: {
  custom: {
    50: '#8c7253',
    500: '#5a3d12',
    950: '#000000',
  },
}
SCSS
$custom: #5a3d12;
$custom-light: #8c7253;
$custom-dark: #000000;
JSON
{
  "hex": "#5a3d12",
  "rgb": {
    "r": 90,
    "g": 61,
    "b": 18
  },
  "hsl": {
    "h": 35.833,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.38459,
    "c": 0.07007,
    "h": 73.1
  },
  "luminance": 0.05555
}

Semantic roles & 50–950 ramp

primary
#5A3D12
secondary
#355B93
accent
#83EA3E
background
#F8F6F4
surface
#F0ECE7
border
#CBC7C3
text
#0D0802
muted
#7D7B78

Preview Lab

Preview with #5A3D12

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

Preview Lab → · Contrast checker → · Palette generator →

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