#5A3A12#5A3A12

#5A3A12 is a dark, moderate orange. Relative luminance 0.052; OKLCH L 37.8% C 0.070 H 68.3°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#5A3A12
RGBrgb(90, 58, 18)
HSLhsl(33, 67%, 21%)
HSVhsv(33, 80%, 35%)
CMYKcmyk(0%, 35.6%, 80%, 64.7%)
CIE-LABlab(27.42, 10.14, 29.42)
CIE-LCHlch(27.42, 31.12, 70.98°)
OKLaboklab(37.8% 0.0259 0.0652)
OKLCHoklch(37.8% 0.07 68.3)
XYZxyz(5.8391, 5.2440, 1.2768)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A3A12 #12325A
analogous
#5A1612 #5A3A12 #565A12
triadic
#5A3A12 #125A3A #3A125A
tetradic
#5A3A12 #125A16 #12325A #5A1256
square
#5A3A12 #125A16 #12325A #5A1256
split-complementary
#5A3A12 #12565A #16125A
monochromatic
#1A1005 #271908 #5A3A12 #8D5B1C #C07C26

Accessibility & contrast

On white

10.25
#5A3A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#5A3A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A3A12
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A3A12#FFFFFF#000000##FFFFFF
##5A3A121.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C0D
Deuteranopia (green-blind)
#4C4413
Tritanopia (blue-blind)
#633232
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5a3a12;
/* rgb */ color: rgb(90, 58, 18);
/* oklch */ color: oklch(37.8% 0.070 68.3);
Tailwind
colors: {
  custom: {
    50: '#8c7052',
    500: '#5a3a12',
    950: '#000000',
  },
}
SCSS
$custom: #5a3a12;
$custom-light: #8c7052;
$custom-dark: #000000;
JSON
{
  "hex": "#5a3a12",
  "rgb": {
    "r": 90,
    "g": 58,
    "b": 18
  },
  "hsl": {
    "h": 33.333,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.37803,
    "c": 0.07019,
    "h": 68.3
  },
  "luminance": 0.05243
}

Semantic roles & 50–950 ramp

primary
#5A3A12
secondary
#355F93
accent
#8AEA3E
background
#F8F6F4
surface
#F0ECE7
border
#CBC7C3
text
#0D0702
muted
#7D7A78

Preview Lab

Preview with #5A3A12

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

Preview Lab → · Contrast checker → · Palette generator →

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