#5A421D#5A421D

#5A421D is a dark, moderate orange. Relative luminance 0.062; OKLCH L 39.7% C 0.062 H 76.1°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#5A421D
RGBrgb(90, 66, 29)
HSLhsl(36, 51%, 23%)
HSVhsv(36, 68%, 35%)
CMYKcmyk(0%, 26.7%, 67.8%, 64.7%)
CIE-LABlab(29.81, 5.81, 26.09)
CIE-LCHlch(29.81, 26.73, 77.43°)
OKLaboklab(39.71% 0.015 0.0603)
OKLCHoklch(39.71% 0.062 76.1)
XYZxyz(6.3868, 6.1593, 2.0146)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A421D #1D355A
analogous
#5A231D #5A421D #535A1D
triadic
#5A421D #1D5A42 #421D5A
tetradic
#5A421D #1D5A23 #1D355A #5A1D53
square
#5A421D #1D5A23 #1D355A #5A1D53
split-complementary
#5A421D #1D535A #231D5A
monochromatic
#171107 #2C200E #5A421D #88642C #B7863B

Accessibility & contrast

On white

9.41
#5A421D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#5A421D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A421D
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A421D#FFFFFF#000000##FFFFFF
##5A421D1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4319
Deuteranopia (green-blind)
#51491E
Tritanopia (blue-blind)
#623C3A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5a421d;
/* rgb */ color: rgb(90, 66, 29);
/* oklch */ color: oklch(39.7% 0.062 76.1);
Tailwind
colors: {
  custom: {
    50: '#8b765a',
    500: '#5a421d',
    950: '#000000',
  },
}
SCSS
$custom: #5a421d;
$custom-light: #8b765a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a421d",
  "rgb": {
    "r": 90,
    "g": 66,
    "b": 29
  },
  "hsl": {
    "h": 36.393,
    "s": 51.261,
    "l": 23.333
  },
  "oklch": {
    "l": 0.39707,
    "c": 0.06212,
    "h": 76.1
  },
  "luminance": 0.06159
}

Semantic roles & 50–950 ramp

primary
#5A421D
secondary
#44618F
accent
#85DB4D
background
#F8F7F5
surface
#F0EDE9
border
#CBC8C5
text
#0C0804
muted
#7D7B79

Preview Lab

Preview with #5A421D

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

Preview Lab → · Contrast checker → · Palette generator →

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