#8A5717#8A5717

#8A5717 is a mid, moderate orange. Relative luminance 0.123; OKLCH L 50.3% C 0.101 H 66.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#8A5717
RGBrgb(138, 87, 23)
HSLhsl(33, 71%, 32%)
HSVhsv(33, 83%, 54%)
CMYKcmyk(0%, 37%, 83.3%, 45.9%)
CIE-LABlab(41.66, 15.80, 43.02)
CIE-LCHlch(41.66, 45.83, 69.84°)
OKLaboklab(50.29% 0.0398 0.0927)
OKLCHoklch(50.29% 0.101 66.7)
XYZxyz(14.0452, 12.2829, 2.4416)
Luminance0.1228 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5717 #174A8A
analogous
#8A1D17 #8A5717 #848A17
triadic
#8A5717 #178A57 #57178A
tetradic
#8A5717 #178A1D #174A8A #8A1784
square
#8A5717 #178A1D #174A8A #8A1784
split-complementary
#8A5717 #17848A #1D178A
monochromatic
#211506 #56360E #8A5717 #BE7820 #DF973D

Accessibility & contrast

On white

6.08
#8A5717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8A5717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5717
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5717#FFFFFF#000000##FFFFFF
##8A57171.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B0B
Deuteranopia (green-blind)
#746718
Tritanopia (blue-blind)
#974B4B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a5717;
/* rgb */ color: rgb(138, 87, 23);
/* oklch */ color: oklch(50.3% 0.101 66.7);
Tailwind
colors: {
  custom: {
    50: '#b1865a',
    500: '#8a5717',
    950: '#000000',
  },
}
SCSS
$custom: #8a5717;
$custom-light: #b1865a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5717",
  "rgb": {
    "r": 138,
    "g": 87,
    "b": 23
  },
  "hsl": {
    "h": 33.391,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.50289,
    "c": 0.10092,
    "h": 66.7
  },
  "luminance": 0.12282
}

Semantic roles & 50–950 ramp

primary
#8A5717
secondary
#3F77BE
accent
#8AEE3A
background
#FBF8F5
surface
#F6EFE9
border
#D0CAC5
text
#120B04
muted
#817C79

Preview Lab

Preview with #8A5717

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

Preview Lab → · Contrast checker → · Palette generator →

#8A5717 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva