#5A421E#5A421E

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

Color values

HEX#5A421E
RGBrgb(90, 66, 30)
HSLhsl(36, 50%, 24%)
HSVhsv(36, 67%, 35%)
CMYKcmyk(0%, 26.7%, 66.7%, 64.7%)
CIE-LABlab(29.82, 5.89, 25.53)
CIE-LCHlch(29.82, 26.21, 77.00°)
OKLaboklab(39.72% 0.0154 0.0593)
OKLCHoklch(39.72% 0.061 75.5)
XYZxyz(6.3994, 6.1643, 2.0808)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A421E #1E365A
analogous
#5A241E #5A421E #545A1E
triadic
#5A421E #1E5A42 #421E5A
tetradic
#5A421E #1E5A24 #1E365A #5A1E54
square
#5A421E #1E5A24 #1E365A #5A1E54
split-complementary
#5A421E #1E545A #241E5A
monochromatic
#171108 #2C200F #5A421E #88642D #B6853D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A421E#FFFFFF#000000##FFFFFF
##5A421E1.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)
#4B431A
Deuteranopia (green-blind)
#51491F
Tritanopia (blue-blind)
#623C3A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5a421e;
/* rgb */ color: rgb(90, 66, 30);
/* oklch */ color: oklch(39.7% 0.061 75.5);
Tailwind
colors: {
  custom: {
    50: '#8b765b',
    500: '#5a421e',
    950: '#000000',
  },
}
SCSS
$custom: #5a421e;
$custom-light: #8b765b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a421e",
  "rgb": {
    "r": 90,
    "g": 66,
    "b": 30
  },
  "hsl": {
    "h": 36,
    "s": 50,
    "l": 23.529
  },
  "oklch": {
    "l": 0.39721,
    "c": 0.06121,
    "h": 75.5
  },
  "luminance": 0.06164
}

Semantic roles & 50–950 ramp

primary
#5A421E
secondary
#45628F
accent
#86DA4E
background
#F8F7F5
surface
#F0EDE9
border
#CBC8C5
text
#0C0804
muted
#7D7B79

Preview Lab

Preview with #5A421E

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

Preview Lab → · Contrast checker → · Palette generator →

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