#5A5040#5A5040

#5A5040 is a dark, muted orange. Relative luminance 0.083; OKLCH L 43.6% C 0.028 H 79.5°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#5A5040
RGBrgb(90, 80, 64)
HSLhsl(37, 17%, 30%)
HSVhsv(37, 29%, 35%)
CMYKcmyk(0%, 11.1%, 28.9%, 64.7%)
CIE-LABlab(34.56, 1.28, 10.96)
CIE-LCHlch(34.56, 11.03, 83.34°)
OKLaboklab(43.64% 0.0052 0.0279)
OKLCHoklch(43.64% 0.028 79.5)
XYZxyz(8.0106, 8.2814, 6.0260)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5040 #404A5A
analogous
#5A4340 #5A5040 #575A40
triadic
#5A5040 #405A50 #50405A
tetradic
#5A5040 #405A43 #404A5A #5A4057
square
#5A5040 #405A43 #404A5A #5A4057
split-complementary
#5A5040 #40575A #43405A
monochromatic
#12100D #363027 #5A5040 #7E7059 #9E8F76

Accessibility & contrast

On white

7.91
#5A5040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5A5040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A5040
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5040#FFFFFF#000000##FFFFFF
##5A50401.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54503F
Deuteranopia (green-blind)
#575240
Tritanopia (blue-blind)
#5E4D4C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5a5040;
/* rgb */ color: rgb(90, 80, 64);
/* oklch */ color: oklch(43.6% 0.028 79.5);
Tailwind
colors: {
  custom: {
    50: '#898174',
    500: '#5a5040',
    950: '#000000',
  },
}
SCSS
$custom: #5a5040;
$custom-light: #898174;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5040",
  "rgb": {
    "r": 90,
    "g": 80,
    "b": 64
  },
  "hsl": {
    "h": 36.923,
    "s": 16.883,
    "l": 30.196
  },
  "oklch": {
    "l": 0.43639,
    "c": 0.02841,
    "h": 79.5
  },
  "luminance": 0.08281
}

Semantic roles & 50–950 ramp

primary
#5A5040
secondary
#6C7889
accent
#8BBA6E
background
#F8F7F7
surface
#F0EEED
border
#CBC9C8
text
#0B0A08
muted
#7C7C7B

Preview Lab

Preview with #5A5040

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

Preview Lab → · Contrast checker → · Palette generator →

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