#5A420F#5A420F

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

Color values

HEX#5A420F
RGBrgb(90, 66, 15)
HSLhsl(41, 71%, 21%)
HSVhsv(41, 83%, 35%)
CMYKcmyk(0%, 26.7%, 83.3%, 64.7%)
CIE-LABlab(29.68, 4.95, 33.03)
CIE-LCHlch(29.68, 33.40, 81.48°)
OKLaboklab(39.56% 0.0104 0.0722)
OKLCHoklch(39.56% 0.073 81.8)
XYZxyz(6.2513, 6.1051, 1.3010)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A420F #0F275A
analogous
#5A1C0F #5A420F #4C5A0F
triadic
#5A420F #0F5A42 #420F5A
tetradic
#5A420F #0F5A1C #0F275A #5A0F4C
square
#5A420F #0F5A1C #0F275A #5A0F4C
split-complementary
#5A420F #0F4C5A #1C0F5A
monochromatic
#1A1304 #261C06 #5A420F #8E6818 #C38F20

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A420F#FFFFFF#000000##FFFFFF
##5A420F1.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)
#4C4207
Deuteranopia (green-blind)
#524811
Tritanopia (blue-blind)
#623B38
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5a420f;
/* rgb */ color: rgb(90, 66, 15);
/* oklch */ color: oklch(39.6% 0.073 81.8);
Tailwind
colors: {
  custom: {
    50: '#8c7652',
    500: '#5a420f',
    950: '#000000',
  },
}
SCSS
$custom: #5a420f;
$custom-light: #8c7652;
$custom-dark: #000000;
JSON
{
  "hex": "#5a420f",
  "rgb": {
    "r": 90,
    "g": 66,
    "b": 15
  },
  "hsl": {
    "h": 40.8,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.39558,
    "c": 0.07293,
    "h": 81.8
  },
  "luminance": 0.06105
}

Semantic roles & 50–950 ramp

primary
#5A420F
secondary
#315194
accent
#73EE3A
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0D0802
muted
#7D7B78

Preview Lab

Preview with #5A420F

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

Preview Lab → · Contrast checker → · Palette generator →

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