#5A3112#5A3112

#5A3112 is a dark, moderate orange. Relative luminance 0.044; OKLCH L 35.9% C 0.074 H 54.5°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#5A3112
RGBrgb(90, 49, 18)
HSLhsl(26, 67%, 21%)
HSVhsv(26, 80%, 35%)
CMYKcmyk(0%, 45.6%, 80%, 64.7%)
CIE-LABlab(25.00, 15.79, 26.95)
CIE-LCHlch(25.00, 31.24, 59.63°)
OKLaboklab(35.93% 0.0427 0.06)
OKLCHoklch(35.93% 0.074 54.5)
XYZxyz(5.4244, 4.4145, 1.1386)
Luminance0.0441 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A3112 #123B5A
analogous
#5A1217 #5A3112 #5A5512
triadic
#5A3112 #125A31 #31125A
tetradic
#5A3112 #175A12 #123B5A #55125A
square
#5A3112 #175A12 #123B5A #55125A
split-complementary
#5A3112 #125A55 #12175A
monochromatic
#1A0E05 #271508 #5A3112 #8D4D1C #C06926

Accessibility & contrast

On white

11.15
#5A3112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#5A3112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A3112
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A3112#FFFFFF#000000##FFFFFF
##5A31121.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D360E
Deuteranopia (green-blind)
#473F12
Tritanopia (blue-blind)
#63282A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5a3112;
/* rgb */ color: rgb(90, 49, 18);
/* oklch */ color: oklch(35.9% 0.074 54.5);
Tailwind
colors: {
  custom: {
    50: '#8d6952',
    500: '#5a3112',
    950: '#000000',
  },
}
SCSS
$custom: #5a3112;
$custom-light: #8d6952;
$custom-dark: #000000;
JSON
{
  "hex": "#5a3112",
  "rgb": {
    "r": 90,
    "g": 49,
    "b": 18
  },
  "hsl": {
    "h": 25.833,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.35928,
    "c": 0.07361,
    "h": 54.5
  },
  "luminance": 0.04414
}

Semantic roles & 50–950 ramp

primary
#5A3112
secondary
#356A93
accent
#A0EA3E
background
#F9F6F4
surface
#F1EBE7
border
#CBC6C3
text
#0D0602
muted
#7E7A78

Preview Lab

Preview with #5A3112

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

Preview Lab → · Contrast checker → · Palette generator →

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