#5A420E#5A420E

#5A420E is a dark, moderate orange. Relative luminance 0.061; OKLCH L 39.6% C 0.074 H 82.1°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#5A420E
RGBrgb(90, 66, 14)
HSLhsl(41, 73%, 20%)
HSVhsv(41, 84%, 35%)
CMYKcmyk(0%, 26.7%, 84.4%, 64.7%)
CIE-LABlab(29.67, 4.90, 33.45)
CIE-LCHlch(29.67, 33.81, 81.66°)
OKLaboklab(39.55% 0.0101 0.0728)
OKLCHoklch(39.55% 0.074 82.1)
XYZxyz(6.2443, 6.1023, 1.2644)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A420E #0E265A
analogous
#5A1C0E #5A420E #4C5A0E
triadic
#5A420E #0E5A42 #420E5A
tetradic
#5A420E #0E5A1C #0E265A #5A0E4C
square
#5A420E #0E5A1C #0E265A #5A0E4C
split-complementary
#5A420E #0E4C5A #1C0E5A
monochromatic
#1A1304 #251B06 #5A420E #8F6916 #C4901E

Accessibility & contrast

On white

9.46
#5A420E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#5A420E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A420E
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A420E#FFFFFF#000000##FFFFFF
##5A420E1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4205
Deuteranopia (green-blind)
#524810
Tritanopia (blue-blind)
#623B38
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5a420e;
/* rgb */ color: rgb(90, 66, 14);
/* oklch */ color: oklch(39.6% 0.074 82.1);
Tailwind
colors: {
  custom: {
    50: '#8c7651',
    500: '#5a420e',
    950: '#000000',
  },
}
SCSS
$custom: #5a420e;
$custom-light: #8c7651;
$custom-dark: #000000;
JSON
{
  "hex": "#5a420e",
  "rgb": {
    "r": 90,
    "g": 66,
    "b": 14
  },
  "hsl": {
    "h": 41.053,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3955,
    "c": 0.07354,
    "h": 82.1
  },
  "luminance": 0.06102
}

Semantic roles & 50–950 ramp

primary
#5A420E
secondary
#304F94
accent
#72F038
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0D0802
muted
#7D7B78

Preview Lab

Preview with #5A420E

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

Preview Lab → · Contrast checker → · Palette generator →

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