#8A6917#8A6917

#8A6917 is a mid, moderate orange. Relative luminance 0.156; OKLCH L 54.0% C 0.102 H 84.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8A6917
RGBrgb(138, 105, 23)
HSLhsl(43, 71%, 32%)
HSVhsv(43, 83%, 54%)
CMYKcmyk(0%, 23.9%, 83.3%, 45.9%)
CIE-LABlab(46.40, 5.29, 47.26)
CIE-LCHlch(46.40, 47.55, 83.61°)
OKLaboklab(53.99% 0.0094 0.1019)
OKLCHoklch(53.99% 0.102 84.8)
XYZxyz(15.6885, 15.5694, 2.9894)
Luminance0.1557 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6917 #17388A
analogous
#8A3017 #8A6917 #728A17
triadic
#8A6917 #178A69 #69178A
tetradic
#8A6917 #178A30 #17388A #8A1772
square
#8A6917 #178A30 #17388A #8A1772
split-complementary
#8A6917 #17728A #30178A
monochromatic
#211906 #56410E #8A6917 #BE9120 #DFB03D

Accessibility & contrast

On white

5.11
#8A6917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#8A6917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A6917
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6917#FFFFFF#000000##FFFFFF
##8A69171.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776904
Deuteranopia (green-blind)
#7F711C
Tritanopia (blue-blind)
#965E5A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8a6917;
/* rgb */ color: rgb(138, 105, 23);
/* oklch */ color: oklch(54.0% 0.102 84.8);
Tailwind
colors: {
  custom: {
    50: '#b1935c',
    500: '#8a6917',
    950: '#000000',
  },
}
SCSS
$custom: #8a6917;
$custom-light: #b1935c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6917",
  "rgb": {
    "r": 138,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 42.783,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53993,
    "c": 0.10237,
    "h": 84.8
  },
  "luminance": 0.15568
}

Semantic roles & 50–950 ramp

primary
#8A6917
secondary
#3F63BE
accent
#6DEE3A
background
#FBF9F5
surface
#F6F1E9
border
#D0CBC5
text
#110D04
muted
#807E79

Preview Lab

Preview with #8A6917

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

Preview Lab → · Contrast checker → · Palette generator →

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