#5A421C#5A421C

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

Color values

HEX#5A421C
RGBrgb(90, 66, 28)
HSLhsl(37, 53%, 23%)
HSVhsv(37, 69%, 35%)
CMYKcmyk(0%, 26.7%, 68.9%, 64.7%)
CIE-LABlab(29.80, 5.74, 26.63)
CIE-LCHlch(29.80, 27.24, 77.84°)
OKLaboklab(39.69% 0.0146 0.0613)
OKLCHoklch(39.69% 0.063 76.6)
XYZxyz(6.3746, 6.1544, 1.9506)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A421C #1C345A
analogous
#5A231C #5A421C #535A1C
triadic
#5A421C #1C5A42 #421C5A
tetradic
#5A421C #1C5A23 #1C345A #5A1C53
square
#5A421C #1C5A23 #1C345A #5A1C53
split-complementary
#5A421C #1C535A #231C5A
monochromatic
#171107 #2B200D #5A421C #89642B #B78639

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A421C#FFFFFF#000000##FFFFFF
##5A421C1.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)
#4B4318
Deuteranopia (green-blind)
#51491D
Tritanopia (blue-blind)
#623B3A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5a421c;
/* rgb */ color: rgb(90, 66, 28);
/* oklch */ color: oklch(39.7% 0.063 76.6);
Tailwind
colors: {
  custom: {
    50: '#8b765a',
    500: '#5a421c',
    950: '#000000',
  },
}
SCSS
$custom: #5a421c;
$custom-light: #8b765a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a421c",
  "rgb": {
    "r": 90,
    "g": 66,
    "b": 28
  },
  "hsl": {
    "h": 36.774,
    "s": 52.542,
    "l": 23.137
  },
  "oklch": {
    "l": 0.39693,
    "c": 0.06301,
    "h": 76.6
  },
  "luminance": 0.06154
}

Semantic roles & 50–950 ramp

primary
#5A421C
secondary
#42608F
accent
#84DC4C
background
#F8F7F5
surface
#F0EDE9
border
#CBC8C5
text
#0C0804
muted
#7D7B79

Preview Lab

Preview with #5A421C

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

Preview Lab → · Contrast checker → · Palette generator →

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