#8A6017#8A6017

#8A6017 is a mid, moderate orange. Relative luminance 0.138; OKLCH L 52.1% C 0.100 H 75.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8A6017
RGBrgb(138, 96, 23)
HSLhsl(38, 71%, 32%)
HSVhsv(38, 83%, 54%)
CMYKcmyk(0%, 30.4%, 83.3%, 45.9%)
CIE-LABlab(43.99, 10.53, 45.11)
CIE-LCHlch(43.99, 46.33, 76.86°)
OKLaboklab(52.1% 0.0245 0.0973)
OKLCHoklch(52.1% 0.1 75.9)
XYZxyz(14.8199, 13.8321, 2.6998)
Luminance0.1383 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6017 #17418A
analogous
#8A2717 #8A6017 #7B8A17
triadic
#8A6017 #178A60 #60178A
tetradic
#8A6017 #178A27 #17418A #8A177B
square
#8A6017 #178A27 #17418A #8A177B
split-complementary
#8A6017 #177B8A #27178A
monochromatic
#211706 #563C0E #8A6017 #BE8420 #DFA43D

Accessibility & contrast

On white

5.58
#8A6017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8A6017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A6017
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6017#FFFFFF#000000##FFFFFF
##8A60171.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6208
Deuteranopia (green-blind)
#796C1A
Tritanopia (blue-blind)
#975552
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a6017;
/* rgb */ color: rgb(138, 96, 23);
/* oklch */ color: oklch(52.1% 0.100 75.9);
Tailwind
colors: {
  custom: {
    50: '#b18d5b',
    500: '#8a6017',
    950: '#000000',
  },
}
SCSS
$custom: #8a6017;
$custom-light: #b18d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6017",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 38.087,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52103,
    "c": 0.10032,
    "h": 75.9
  },
  "luminance": 0.13831
}

Semantic roles & 50–950 ramp

primary
#8A6017
secondary
#3F6DBE
accent
#7CEE3A
background
#FBF8F5
surface
#F6F0E9
border
#D0CBC5
text
#110C04
muted
#807D79

Preview Lab

Preview with #8A6017

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

Preview Lab → · Contrast checker → · Palette generator →

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