#8A6822#8A6822

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

Color values

HEX#8A6822
RGBrgb(138, 104, 34)
HSLhsl(40, 60%, 34%)
HSVhsv(40, 75%, 54%)
CMYKcmyk(0%, 24.6%, 75.4%, 45.9%)
CIE-LABlab(46.20, 6.34, 42.69)
CIE-LCHlch(46.20, 43.16, 81.55°)
OKLaboklab(53.86% 0.0137 0.0947)
OKLCHoklch(53.86% 0.096 81.8)
XYZxyz(15.7213, 15.4205, 3.6615)
Luminance0.1542 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6822 #22448A
analogous
#8A3422 #8A6822 #788A22
triadic
#8A6822 #228A68 #68228A
tetradic
#8A6822 #228A34 #22448A #8A2278
square
#8A6822 #228A34 #22448A #8A2278
split-complementary
#8A6822 #22788A #34228A
monochromatic
#281E0A #594316 #8A6822 #BB8D2E #D4AA52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A6822#FFFFFF#000000##FFFFFF
##8A68221.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)
#766818
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#965E5A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8a6822;
/* rgb */ color: rgb(138, 104, 34);
/* oklch */ color: oklch(53.9% 0.096 81.8);
Tailwind
colors: {
  custom: {
    50: '#b09262',
    500: '#8a6822',
    950: '#000000',
  },
}
SCSS
$custom: #8a6822;
$custom-light: #b09262;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6822",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 34
  },
  "hsl": {
    "h": 40.385,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53859,
    "c": 0.09567,
    "h": 81.8
  },
  "luminance": 0.15419
}

Semantic roles & 50–950 ramp

primary
#8A6822
secondary
#5072B8
accent
#78E444
background
#FBF8F5
surface
#F6F0EA
border
#D0CBC6
text
#110D05
muted
#807D79

Preview Lab

Preview with #8A6822

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

Preview Lab → · Contrast checker → · Palette generator →

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