#5A3317#5A3317

#5A3317 is a dark, moderate orange. Relative luminance 0.046; OKLCH L 36.4% C 0.070 H 54.1°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#5A3317
RGBrgb(90, 51, 23)
HSLhsl(25, 59%, 22%)
HSVhsv(25, 74%, 35%)
CMYKcmyk(0%, 43.3%, 74.4%, 64.7%)
CIE-LABlab(25.57, 14.84, 24.75)
CIE-LCHlch(25.57, 28.86, 59.05°)
OKLaboklab(36.39% 0.0408 0.0564)
OKLCHoklch(36.39% 0.07 54.1)
XYZxyz(5.5554, 4.6037, 1.4065)
Luminance0.0460 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A3317 #173E5A
analogous
#5A171C #5A3317 #5A5517
triadic
#5A3317 #175A33 #33175A
tetradic
#5A3317 #1C5A17 #173E5A #55175A
square
#5A3317 #1C5A17 #173E5A #55175A
split-complementary
#5A3317 #175A55 #171C5A
monochromatic
#180E06 #29170B #5A3317 #8B4F23 #BB6A30

Accessibility & contrast

On white

10.93
#5A3317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#5A3317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A3317
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A3317#FFFFFF#000000##FFFFFF
##5A33171.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3714
Deuteranopia (green-blind)
#484017
Tritanopia (blue-blind)
#632B2D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5a3317;
/* rgb */ color: rgb(90, 51, 23);
/* oklch */ color: oklch(36.4% 0.070 54.1);
Tailwind
colors: {
  custom: {
    50: '#8c6b55',
    500: '#5a3317',
    950: '#000000',
  },
}
SCSS
$custom: #5a3317;
$custom-light: #8c6b55;
$custom-dark: #000000;
JSON
{
  "hex": "#5a3317",
  "rgb": {
    "r": 90,
    "g": 51,
    "b": 23
  },
  "hsl": {
    "h": 25.075,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.36391,
    "c": 0.06956,
    "h": 54.1
  },
  "luminance": 0.04603
}

Semantic roles & 50–950 ramp

primary
#5A3317
secondary
#3C6D91
accent
#A1E245
background
#F9F6F5
surface
#F1EBE8
border
#CBC6C4
text
#0D0603
muted
#7E7A78

Preview Lab

Preview with #5A3317

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

Preview Lab → · Contrast checker → · Palette generator →

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