#8A521F#8A521F

#8A521F is a mid, moderate orange. Relative luminance 0.115; OKLCH L 49.4% C 0.099 H 59.2°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#8A521F
RGBrgb(138, 82, 31)
HSLhsl(29, 63%, 33%)
HSVhsv(29, 78%, 54%)
CMYKcmyk(0%, 40.6%, 77.5%, 45.9%)
CIE-LABlab(40.47, 19.04, 38.34)
CIE-LCHlch(40.47, 42.81, 63.59°)
OKLaboklab(49.39% 0.0506 0.0847)
OKLCHoklch(49.39% 0.099 59.2)
XYZxyz(13.7470, 11.5382, 2.7992)
Luminance0.1154 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A521F #1F578A
analogous
#8A1F21 #8A521F #8A871F
triadic
#8A521F #1F8A52 #521F8A
tetradic
#8A521F #218A1F #1F578A #871F8A
square
#8A521F #218A1F #1F578A #871F8A
split-complementary
#8A521F #1F8A87 #1F218A
monochromatic
#261709 #583414 #8A521F #BC702A #D78E4C

Accessibility & contrast

On white

6.35
#8A521F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8A521F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A521F
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A521F#FFFFFF#000000##FFFFFF
##8A521F1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635818
Deuteranopia (green-blind)
#70641F
Tritanopia (blue-blind)
#974647
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a521f;
/* rgb */ color: rgb(138, 82, 31);
/* oklch */ color: oklch(49.4% 0.099 59.2);
Tailwind
colors: {
  custom: {
    50: '#b1835e',
    500: '#8a521f',
    950: '#000000',
  },
}
SCSS
$custom: #8a521f;
$custom-light: #b1835e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a521f",
  "rgb": {
    "r": 138,
    "g": 82,
    "b": 31
  },
  "hsl": {
    "h": 28.598,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.49387,
    "c": 0.09865,
    "h": 59.2
  },
  "luminance": 0.11537
}

Semantic roles & 50–950 ramp

primary
#8A521F
secondary
#4B85BA
accent
#98E641
background
#FBF8F5
surface
#F6EFE9
border
#D0CAC5
text
#120A04
muted
#817C79

Preview Lab

Preview with #8A521F

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

Preview Lab → · Contrast checker → · Palette generator →

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