#8A5122#8A5122

#8A5122 is a mid, moderate orange. Relative luminance 0.114; OKLCH L 49.2% C 0.098 H 57.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8A5122
RGBrgb(138, 81, 34)
HSLhsl(27, 60%, 34%)
HSVhsv(27, 75%, 54%)
CMYKcmyk(0%, 41.3%, 75.4%, 45.9%)
CIE-LABlab(40.25, 19.77, 36.64)
CIE-LCHlch(40.25, 41.63, 61.65°)
OKLaboklab(49.23% 0.0532 0.0818)
OKLCHoklch(49.23% 0.098 57)
XYZxyz(13.7135, 11.4050, 2.9923)
Luminance0.1140 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5122 #225B8A
analogous
#8A2227 #8A5122 #8A8522
triadic
#8A5122 #228A51 #51228A
tetradic
#8A5122 #278A22 #225B8A #85228A
square
#8A5122 #278A22 #225B8A #85228A
split-complementary
#8A5122 #228A85 #22278A
monochromatic
#28170A #593416 #8A5122 #BB6E2E #D48D52

Accessibility & contrast

On white

6.40
#8A5122 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8A5122 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5122
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5122#FFFFFF#000000##FFFFFF
##8A51221.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62571C
Deuteranopia (green-blind)
#706422
Tritanopia (blue-blind)
#974547
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a5122;
/* rgb */ color: rgb(138, 81, 34);
/* oklch */ color: oklch(49.2% 0.098 57.0);
Tailwind
colors: {
  custom: {
    50: '#b18260',
    500: '#8a5122',
    950: '#000000',
  },
}
SCSS
$custom: #8a5122;
$custom-light: #b18260;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5122",
  "rgb": {
    "r": 138,
    "g": 81,
    "b": 34
  },
  "hsl": {
    "h": 27.115,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.49227,
    "c": 0.09755,
    "h": 57
  },
  "luminance": 0.11404
}

Semantic roles & 50–950 ramp

primary
#8A5122
secondary
#5089B8
accent
#9CE444
background
#FBF7F5
surface
#F6EEE9
border
#D0C9C5
text
#120A05
muted
#817C79

Preview Lab

Preview with #8A5122

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

Preview Lab → · Contrast checker → · Palette generator →

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