#8A6840#8A6840

#8A6840 is a mid, moderate orange. Relative luminance 0.157; OKLCH L 54.2% C 0.071 H 69.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8A6840
RGBrgb(138, 104, 64)
HSLhsl(32, 37%, 40%)
HSVhsv(32, 54%, 54%)
CMYKcmyk(0%, 24.6%, 53.6%, 45.9%)
CIE-LABlab(46.55, 8.53, 27.66)
CIE-LCHlch(46.55, 28.95, 72.87°)
OKLaboklab(54.24% 0.0243 0.0665)
OKLCHoklch(54.24% 0.071 69.9)
XYZxyz(16.3577, 15.6751, 7.0135)
Luminance0.1567 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6840 #40628A
analogous
#8A4340 #8A6840 #878A40
triadic
#8A6840 #408A68 #68408A
tetradic
#8A6840 #408A43 #40628A #8A4087
square
#8A6840 #408A43 #40628A #8A4087
split-complementary
#8A6840 #40878A #43408A
monochromatic
#362919 #60482D #8A6840 #B18756 #C4A580

Accessibility & contrast

On white

5.08
#8A6840 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#8A6840 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A6840
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6840#FFFFFF#000000##FFFFFF
##8A68401.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746A3D
Deuteranopia (green-blind)
#7C7241
Tritanopia (blue-blind)
#95605E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8a6840;
/* rgb */ color: rgb(138, 104, 64);
/* oklch */ color: oklch(54.2% 0.071 69.9);
Tailwind
colors: {
  custom: {
    50: '#ae9375',
    500: '#8a6840',
    950: '#000000',
  },
}
SCSS
$custom: #8a6840;
$custom-light: #ae9375;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6840",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 64
  },
  "hsl": {
    "h": 32.432,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.54235,
    "c": 0.07082,
    "h": 69.9
  },
  "luminance": 0.15674
}

Semantic roles & 50–950 ramp

primary
#8A6840
secondary
#7791AF
accent
#8FCD5B
background
#FBF9F7
surface
#F6F1ED
border
#D0CBC8
text
#110D08
muted
#807E7B

Preview Lab

Preview with #8A6840

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

Preview Lab → · Contrast checker → · Palette generator →

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