#5A4840#5A4840

#5A4840 is a dark, muted orange. Relative luminance 0.072; OKLCH L 41.8% C 0.028 H 45.2°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#5A4840
RGBrgb(90, 72, 64)
HSLhsl(18, 17%, 30%)
HSVhsv(18, 29%, 35%)
CMYKcmyk(0%, 20%, 28.9%, 64.7%)
CIE-LABlab(32.21, 6.27, 7.69)
CIE-LCHlch(32.21, 9.92, 50.82°)
OKLaboklab(41.8% 0.0197 0.0199)
OKLCHoklch(41.8% 0.028 45.2)
XYZxyz(7.4593, 7.1789, 5.8422)
Luminance0.0718 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4840 #40525A
analogous
#5A4045 #5A4840 #5A5540
triadic
#5A4840 #405A48 #48405A
tetradic
#5A4840 #455A40 #40525A #55405A
square
#5A4840 #455A40 #40525A #55405A
split-complementary
#5A4840 #405A55 #40455A
monochromatic
#120F0D #362B27 #5A4840 #7E6559 #9E8376

Accessibility & contrast

On white

8.62
#5A4840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#5A4840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A4840
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4840#FFFFFF#000000##FFFFFF
##5A48401.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4A3F
Deuteranopia (green-blind)
#514D40
Tritanopia (blue-blind)
#5F4546
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5a4840;
/* rgb */ color: rgb(90, 72, 64);
/* oklch */ color: oklch(41.8% 0.028 45.2);
Tailwind
colors: {
  custom: {
    50: '#897b74',
    500: '#5a4840',
    950: '#000000',
  },
}
SCSS
$custom: #5a4840;
$custom-light: #897b74;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4840",
  "rgb": {
    "r": 90,
    "g": 72,
    "b": 64
  },
  "hsl": {
    "h": 18.462,
    "s": 16.883,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41798,
    "c": 0.02795,
    "h": 45.2
  },
  "luminance": 0.07179
}

Semantic roles & 50–950 ramp

primary
#5A4840
secondary
#6C8089
accent
#A2BA6E
background
#F8F7F7
surface
#F0EDED
border
#CBC8C8
text
#0B0908
muted
#7C7B7B

Preview Lab

Preview with #5A4840

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

Preview Lab → · Contrast checker → · Palette generator →

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