#8A5217#8A5217

#8A5217 is a mid, moderate orange. Relative luminance 0.115; OKLCH L 49.3% C 0.102 H 61.8°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#8A5217
RGBrgb(138, 82, 23)
HSLhsl(31, 71%, 32%)
HSVhsv(31, 83%, 54%)
CMYKcmyk(0%, 40.6%, 83.3%, 45.9%)
CIE-LABlab(40.41, 18.71, 41.89)
CIE-LCHlch(40.41, 45.88, 65.93°)
OKLaboklab(49.32% 0.0484 0.0903)
OKLCHoklch(49.32% 0.102 61.8)
XYZxyz(13.6544, 11.5012, 2.3113)
Luminance0.1150 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5217 #174F8A
analogous
#8A1917 #8A5217 #898A17
triadic
#8A5217 #178A52 #52178A
tetradic
#8A5217 #178A19 #174F8A #8A1789
square
#8A5217 #178A19 #174F8A #8A1789
split-complementary
#8A5217 #17898A #19178A
monochromatic
#211406 #56330E #8A5217 #BE7120 #DF903D

Accessibility & contrast

On white

6.36
#8A5217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8A5217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5217
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5217#FFFFFF#000000##FFFFFF
##8A52171.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570D
Deuteranopia (green-blind)
#716418
Tritanopia (blue-blind)
#974547
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a5217;
/* rgb */ color: rgb(138, 82, 23);
/* oklch */ color: oklch(49.3% 0.102 61.8);
Tailwind
colors: {
  custom: {
    50: '#b28359',
    500: '#8a5217',
    950: '#000000',
  },
}
SCSS
$custom: #8a5217;
$custom-light: #b28359;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5217",
  "rgb": {
    "r": 138,
    "g": 82,
    "b": 23
  },
  "hsl": {
    "h": 30.783,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.49321,
    "c": 0.10242,
    "h": 61.8
  },
  "luminance": 0.115
}

Semantic roles & 50–950 ramp

primary
#8A5217
secondary
#3F7DBE
accent
#92EE3A
background
#FBF8F5
surface
#F6EFE9
border
#D0CAC5
text
#120A04
muted
#817C79

Preview Lab

Preview with #8A5217

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

Preview Lab → · Contrast checker → · Palette generator →

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