#8A5222#8A5222

#8A5222 is a mid, moderate orange. Relative luminance 0.116; OKLCH L 49.4% C 0.097 H 58.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#8A5222
RGBrgb(138, 82, 34)
HSLhsl(28, 60%, 34%)
HSVhsv(28, 75%, 54%)
CMYKcmyk(0%, 40.6%, 75.4%, 45.9%)
CIE-LABlab(40.50, 19.19, 36.89)
CIE-LCHlch(40.50, 41.58, 62.52°)
OKLaboklab(49.42% 0.0515 0.0823)
OKLCHoklch(49.42% 0.097 58)
XYZxyz(13.7884, 11.5548, 3.0172)
Luminance0.1155 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5222 #225A8A
analogous
#8A2226 #8A5222 #8A8622
triadic
#8A5222 #228A52 #52228A
tetradic
#8A5222 #268A22 #225A8A #86228A
square
#8A5222 #268A22 #225A8A #86228A
split-complementary
#8A5222 #228A86 #22268A
monochromatic
#28180A #593516 #8A5222 #BB6F2E #D48E52

Accessibility & contrast

On white

6.34
#8A5222 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A5222
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5222#FFFFFF#000000##FFFFFF
##8A52221.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a5222;
/* rgb */ color: rgb(138, 82, 34);
/* oklch */ color: oklch(49.4% 0.097 58.0);
Tailwind
colors: {
  custom: {
    50: '#b18360',
    500: '#8a5222',
    950: '#000000',
  },
}
SCSS
$custom: #8a5222;
$custom-light: #b18360;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5222",
  "rgb": {
    "r": 138,
    "g": 82,
    "b": 34
  },
  "hsl": {
    "h": 27.692,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.49416,
    "c": 0.09709,
    "h": 58
  },
  "luminance": 0.11553
}

Semantic roles & 50–950 ramp

primary
#8A5222
secondary
#5088B8
accent
#9AE444
background
#FBF8F5
surface
#F6EFE9
border
#D0CAC5
text
#120A05
muted
#817C79

Preview Lab

Preview with #8A5222

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

Preview Lab → · Contrast checker → · Palette generator →

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