#8A6817#8A6817

#8A6817 is a mid, moderate orange. Relative luminance 0.154; OKLCH L 53.8% C 0.102 H 83.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8A6817
RGBrgb(138, 104, 23)
HSLhsl(42, 71%, 32%)
HSVhsv(42, 83%, 54%)
CMYKcmyk(0%, 24.6%, 83.3%, 45.9%)
CIE-LABlab(46.13, 5.87, 47.02)
CIE-LCHlch(46.13, 47.38, 82.88°)
OKLaboklab(53.78% 0.011 0.1014)
OKLCHoklch(53.78% 0.102 83.8)
XYZxyz(15.5873, 15.3669, 2.9556)
Luminance0.1537 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6817 #17398A
analogous
#8A2F17 #8A6817 #738A17
triadic
#8A6817 #178A68 #68178A
tetradic
#8A6817 #178A2F #17398A #8A1773
square
#8A6817 #178A2F #17398A #8A1773
split-complementary
#8A6817 #17738A #2F178A
monochromatic
#211906 #56400E #8A6817 #BE9020 #DFAF3D

Accessibility & contrast

On white

5.16
#8A6817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#8A6817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A6817
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6817#FFFFFF#000000##FFFFFF
##8A68171.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766805
Deuteranopia (green-blind)
#7F711B
Tritanopia (blue-blind)
#965D59
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8a6817;
/* rgb */ color: rgb(138, 104, 23);
/* oklch */ color: oklch(53.8% 0.102 83.8);
Tailwind
colors: {
  custom: {
    50: '#b1925c',
    500: '#8a6817',
    950: '#000000',
  },
}
SCSS
$custom: #8a6817;
$custom-light: #b1925c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6817",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 23
  },
  "hsl": {
    "h": 42.261,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53779,
    "c": 0.10202,
    "h": 83.8
  },
  "luminance": 0.15366
}

Semantic roles & 50–950 ramp

primary
#8A6817
secondary
#3F65BE
accent
#6FEE3A
background
#FBF8F5
surface
#F6F0E9
border
#D0CBC5
text
#110D04
muted
#807D79

Preview Lab

Preview with #8A6817

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

Preview Lab → · Contrast checker → · Palette generator →

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