#8A6821#8A6821

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

Color values

HEX#8A6821
RGBrgb(138, 104, 33)
HSLhsl(41, 61%, 34%)
HSVhsv(41, 76%, 54%)
CMYKcmyk(0%, 24.6%, 76.1%, 45.9%)
CIE-LABlab(46.20, 6.29, 43.13)
CIE-LCHlch(46.20, 43.58, 81.70°)
OKLaboklab(53.85% 0.0134 0.0954)
OKLCHoklch(53.85% 0.096 82)
XYZxyz(15.7071, 15.4149, 3.5866)
Luminance0.1541 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6821 #21438A
analogous
#8A3321 #8A6821 #778A21
triadic
#8A6821 #218A68 #68218A
tetradic
#8A6821 #218A33 #21438A #8A2177
square
#8A6821 #218A33 #21438A #8A2177
split-complementary
#8A6821 #21778A #33218A
monochromatic
#271E09 #594315 #8A6821 #BB8D2D #D5AA50

Accessibility & contrast

On white

5.14
#8A6821 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#8A6821 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A6821
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6821#FFFFFF#000000##FFFFFF
##8A68211.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766817
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#965E5A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8a6821;
/* rgb */ color: rgb(138, 104, 33);
/* oklch */ color: oklch(53.8% 0.096 82.0);
Tailwind
colors: {
  custom: {
    50: '#b09261',
    500: '#8a6821',
    950: '#000000',
  },
}
SCSS
$custom: #8a6821;
$custom-light: #b09261;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6821",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 33
  },
  "hsl": {
    "h": 40.571,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5385,
    "c": 0.09632,
    "h": 82
  },
  "luminance": 0.15414
}

Semantic roles & 50–950 ramp

primary
#8A6821
secondary
#4E71B9
accent
#77E543
background
#FBF8F5
surface
#F6F0EA
border
#D0CBC6
text
#110D05
muted
#807D79

Preview Lab

Preview with #8A6821

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

Preview Lab → · Contrast checker → · Palette generator →

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