#8A5218#8A5218

#8A5218 is a mid, moderate orange. Relative luminance 0.115; OKLCH L 49.3% C 0.102 H 61.5°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#8A5218
RGBrgb(138, 82, 24)
HSLhsl(31, 70%, 32%)
HSVhsv(31, 83%, 54%)
CMYKcmyk(0%, 40.6%, 82.6%, 45.9%)
CIE-LABlab(40.42, 18.75, 41.47)
CIE-LCHlch(40.42, 45.51, 65.67°)
OKLaboklab(49.33% 0.0487 0.0896)
OKLCHoklch(49.33% 0.102 61.5)
XYZxyz(13.6646, 11.5052, 2.3651)
Luminance0.1150 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5218 #18508A
analogous
#8A1918 #8A5218 #898A18
triadic
#8A5218 #188A52 #52188A
tetradic
#8A5218 #188A19 #18508A #8A1889
square
#8A5218 #188A19 #18508A #8A1889
split-complementary
#8A5218 #18898A #19188A
monochromatic
#221406 #56330F #8A5218 #BE7121 #DE903F

Accessibility & contrast

On white

6.36
#8A5218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8A5218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5218
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5218#FFFFFF#000000##FFFFFF
##8A52181.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570E
Deuteranopia (green-blind)
#716419
Tritanopia (blue-blind)
#974547
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a5218;
/* rgb */ color: rgb(138, 82, 24);
/* oklch */ color: oklch(49.3% 0.102 61.5);
Tailwind
colors: {
  custom: {
    50: '#b2835a',
    500: '#8a5218',
    950: '#000000',
  },
}
SCSS
$custom: #8a5218;
$custom-light: #b2835a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5218",
  "rgb": {
    "r": 138,
    "g": 82,
    "b": 24
  },
  "hsl": {
    "h": 30.526,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.49328,
    "c": 0.10199,
    "h": 61.5
  },
  "luminance": 0.11504
}

Semantic roles & 50–950 ramp

primary
#8A5218
secondary
#407EBD
accent
#92ED3B
background
#FBF8F5
surface
#F6EFE9
border
#D0CAC5
text
#120A04
muted
#817C79

Preview Lab

Preview with #8A5218

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

Preview Lab → · Contrast checker → · Palette generator →

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