#8A6217#8A6217

#8A6217 is a mid, moderate orange. Relative luminance 0.142; OKLCH L 52.5% C 0.101 H 77.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8A6217
RGBrgb(138, 98, 23)
HSLhsl(39, 71%, 32%)
HSVhsv(39, 83%, 54%)
CMYKcmyk(0%, 29%, 83.3%, 45.9%)
CIE-LABlab(44.52, 9.36, 45.59)
CIE-LCHlch(44.52, 46.54, 78.39°)
OKLaboklab(52.52% 0.0211 0.0983)
OKLCHoklch(52.52% 0.101 77.9)
XYZxyz(15.0047, 14.2017, 2.7614)
Luminance0.1420 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6217 #173F8A
analogous
#8A2817 #8A6217 #798A17
triadic
#8A6217 #178A62 #62178A
tetradic
#8A6217 #178A28 #173F8A #8A1779
square
#8A6217 #178A28 #173F8A #8A1779
split-complementary
#8A6217 #17798A #28178A
monochromatic
#211706 #563D0E #8A6217 #BE8720 #DFA63D

Accessibility & contrast

On white

5.47
#8A6217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8A6217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A6217
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6217#FFFFFF#000000##FFFFFF
##8A62171.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716307
Deuteranopia (green-blind)
#7B6D1A
Tritanopia (blue-blind)
#975754
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a6217;
/* rgb */ color: rgb(138, 98, 23);
/* oklch */ color: oklch(52.5% 0.101 77.9);
Tailwind
colors: {
  custom: {
    50: '#b18e5b',
    500: '#8a6217',
    950: '#000000',
  },
}
SCSS
$custom: #8a6217;
$custom-light: #b18e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6217",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 23
  },
  "hsl": {
    "h": 39.13,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52516,
    "c": 0.10054,
    "h": 77.9
  },
  "luminance": 0.14201
}

Semantic roles & 50–950 ramp

primary
#8A6217
secondary
#3F6BBE
accent
#78EE3A
background
#FBF8F5
surface
#F6F0E9
border
#D0CBC5
text
#110C04
muted
#807D79

Preview Lab

Preview with #8A6217

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

Preview Lab → · Contrast checker → · Palette generator →

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