#8A5228#8A5228

#8A5228 is a mid, moderate orange. Relative luminance 0.116; OKLCH L 49.5% C 0.094 H 55.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#8A5228
RGBrgb(138, 82, 40)
HSLhsl(26, 55%, 35%)
HSVhsv(26, 71%, 54%)
CMYKcmyk(0%, 40.6%, 71%, 45.9%)
CIE-LABlab(40.56, 19.52, 33.85)
CIE-LCHlch(40.56, 39.07, 60.03°)
OKLaboklab(49.48% 0.0535 0.077)
OKLCHoklch(49.48% 0.094 55.2)
XYZxyz(13.8826, 11.5925, 3.5135)
Luminance0.1159 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5228 #28608A
analogous
#8A282F #8A5228 #8A8328
triadic
#8A5228 #288A52 #52288A
tetradic
#8A5228 #2F8A28 #28608A #83288A
square
#8A5228 #2F8A28 #28608A #83288A
split-complementary
#8A5228 #288A83 #282F8A
monochromatic
#2B1A0C #5B361A #8A5228 #B96E36 #D08E5D

Accessibility & contrast

On white

6.33
#8A5228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8A5228 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5228
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5228#FFFFFF#000000##FFFFFF
##8A52281.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625824
Deuteranopia (green-blind)
#706528
Tritanopia (blue-blind)
#974649
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a5228;
/* rgb */ color: rgb(138, 82, 40);
/* oklch */ color: oklch(49.5% 0.094 55.2);
Tailwind
colors: {
  custom: {
    50: '#b18364',
    500: '#8a5228',
    950: '#000000',
  },
}
SCSS
$custom: #8a5228;
$custom-light: #b18364;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5228",
  "rgb": {
    "r": 138,
    "g": 82,
    "b": 40
  },
  "hsl": {
    "h": 25.714,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.49483,
    "c": 0.09376,
    "h": 55.2
  },
  "luminance": 0.11591
}

Semantic roles & 50–950 ramp

primary
#8A5228
secondary
#598EB5
accent
#9FDE49
background
#FBF8F6
surface
#F6EFEB
border
#D0CAC6
text
#110A05
muted
#807C7A

Preview Lab

Preview with #8A5228

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

Preview Lab → · Contrast checker → · Palette generator →

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