#5A470F#5A470F

#5A470F is a dark, moderate orange. Relative luminance 0.067; OKLCH L 40.7% C 0.075 H 88.9°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#5A470F
RGBrgb(90, 71, 15)
HSLhsl(45, 71%, 21%)
HSVhsv(45, 83%, 35%)
CMYKcmyk(0%, 21.1%, 83.3%, 64.7%)
CIE-LABlab(31.15, 1.83, 34.41)
CIE-LCHlch(31.15, 34.46, 86.96°)
OKLaboklab(40.72% 0.0014 0.0751)
OKLCHoklch(40.72% 0.075 88.9)
XYZxyz(6.5563, 6.7151, 1.4027)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A470F #0F225A
analogous
#5A210F #5A470F #475A0F
triadic
#5A470F #0F5A47 #470F5A
tetradic
#5A470F #0F5A21 #0F225A #5A0F47
square
#5A470F #0F5A21 #0F225A #5A0F47
split-complementary
#5A470F #0F475A #210F5A
monochromatic
#1A1504 #261E06 #5A470F #8E7018 #C39A20

Accessibility & contrast

On white

8.96
#5A470F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#5A470F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A470F
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A470F#FFFFFF#000000##FFFFFF
##5A470F1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504605
Deuteranopia (green-blind)
#554B12
Tritanopia (blue-blind)
#62403C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5a470f;
/* rgb */ color: rgb(90, 71, 15);
/* oklch */ color: oklch(40.7% 0.075 88.9);
Tailwind
colors: {
  custom: {
    50: '#8c7952',
    500: '#5a470f',
    950: '#000000',
  },
}
SCSS
$custom: #5a470f;
$custom-light: #8c7952;
$custom-dark: #000000;
JSON
{
  "hex": "#5a470f",
  "rgb": {
    "r": 90,
    "g": 71,
    "b": 15
  },
  "hsl": {
    "h": 44.8,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40716,
    "c": 0.07515,
    "h": 88.9
  },
  "luminance": 0.06715
}

Semantic roles & 50–950 ramp

primary
#5A470F
secondary
#314A94
accent
#67EE3A
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0C0902
muted
#7D7B78

Preview Lab

Preview with #5A470F

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

Preview Lab → · Contrast checker → · Palette generator →

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