#5A2816#5A2816

#5A2816 is a dark, moderate orange. Relative luminance 0.037; OKLCH L 34.3% C 0.079 H 39.9°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#5A2816
RGBrgb(90, 40, 22)
HSLhsl(16, 61%, 22%)
HSVhsv(16, 76%, 35%)
CMYKcmyk(0%, 55.6%, 75.6%, 64.7%)
CIE-LABlab(22.83, 21.48, 22.27)
CIE-LCHlch(22.83, 30.95, 46.03°)
OKLaboklab(34.28% 0.0607 0.0508)
OKLCHoklch(34.28% 0.079 39.9)
XYZxyz(5.1205, 3.7498, 1.2130)
Luminance0.0375 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A2816 #16485A
analogous
#5A1626 #5A2816 #5A4A16
triadic
#5A2816 #165A28 #28165A
tetradic
#5A2816 #265A16 #16485A #4A165A
square
#5A2816 #265A16 #16485A #4A165A
split-complementary
#5A2816 #165A4A #16265A
monochromatic
#190B06 #29120A #5A2816 #8B3E22 #BC542E

Accessibility & contrast

On white

12.00
#5A2816 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#5A2816 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A2816
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A2816#FFFFFF#000000##FFFFFF
##5A28161.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363014
Deuteranopia (green-blind)
#423B15
Tritanopia (blue-blind)
#631E24
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5a2816;
/* rgb */ color: rgb(90, 40, 22);
/* oklch */ color: oklch(34.3% 0.079 39.9);
Tailwind
colors: {
  custom: {
    50: '#8d6354',
    500: '#5a2816',
    950: '#000000',
  },
}
SCSS
$custom: #5a2816;
$custom-light: #8d6354;
$custom-dark: #000000;
JSON
{
  "hex": "#5a2816",
  "rgb": {
    "r": 90,
    "g": 40,
    "b": 22
  },
  "hsl": {
    "h": 15.882,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.34279,
    "c": 0.0792,
    "h": 39.9
  },
  "luminance": 0.03749
}

Semantic roles & 50–950 ramp

primary
#5A2816
secondary
#3B7A91
accent
#BAE444
background
#F9F5F4
surface
#F1EAE7
border
#CBC6C3
text
#0D0502
muted
#7E7978

Preview Lab

Preview with #5A2816

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

Preview Lab → · Contrast checker → · Palette generator →

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