#5A3217#5A3217

#5A3217 is a dark, moderate orange. Relative luminance 0.045; OKLCH L 36.2% C 0.070 H 52.6°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#5A3217
RGBrgb(90, 50, 23)
HSLhsl(24, 59%, 22%)
HSVhsv(24, 74%, 35%)
CMYKcmyk(0%, 44.4%, 74.4%, 64.7%)
CIE-LABlab(25.31, 15.47, 24.46)
CIE-LCHlch(25.31, 28.94, 57.70°)
OKLaboklab(36.19% 0.0426 0.0558)
OKLCHoklch(36.19% 0.07 52.6)
XYZxyz(5.5122, 4.5173, 1.3921)
Luminance0.0452 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A3217 #173F5A
analogous
#5A171E #5A3217 #5A5417
triadic
#5A3217 #175A32 #32175A
tetradic
#5A3217 #1E5A17 #173F5A #54175A
square
#5A3217 #1E5A17 #173F5A #54175A
split-complementary
#5A3217 #175A54 #171E5A
monochromatic
#180E06 #29170B #5A3217 #8B4D23 #BB6830

Accessibility & contrast

On white

11.03
#5A3217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#5A3217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A3217
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A3217#FFFFFF#000000##FFFFFF
##5A32171.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3714
Deuteranopia (green-blind)
#474017
Tritanopia (blue-blind)
#632A2C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5a3217;
/* rgb */ color: rgb(90, 50, 23);
/* oklch */ color: oklch(36.2% 0.070 52.6);
Tailwind
colors: {
  custom: {
    50: '#8d6a55',
    500: '#5a3217',
    950: '#000000',
  },
}
SCSS
$custom: #5a3217;
$custom-light: #8d6a55;
$custom-dark: #000000;
JSON
{
  "hex": "#5a3217",
  "rgb": {
    "r": 90,
    "g": 50,
    "b": 23
  },
  "hsl": {
    "h": 24.179,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.36189,
    "c": 0.07019,
    "h": 52.6
  },
  "luminance": 0.04517
}

Semantic roles & 50–950 ramp

primary
#5A3217
secondary
#3C6F91
accent
#A3E245
background
#F9F6F5
surface
#F1EBE8
border
#CBC6C4
text
#0D0603
muted
#7E7A78

Preview Lab

Preview with #5A3217

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

Preview Lab → · Contrast checker → · Palette generator →

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