#8A5128#8A5128

#8A5128 is a mid, moderate orange. Relative luminance 0.114; OKLCH L 49.3% C 0.094 H 54.2°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#8A5128
RGBrgb(138, 81, 40)
HSLhsl(25, 55%, 35%)
HSVhsv(25, 71%, 54%)
CMYKcmyk(0%, 41.3%, 71%, 45.9%)
CIE-LABlab(40.32, 20.10, 33.57)
CIE-LCHlch(40.32, 39.13, 59.09°)
OKLaboklab(49.29% 0.0552 0.0764)
OKLCHoklch(49.29% 0.094 54.2)
XYZxyz(13.8078, 11.4427, 3.4886)
Luminance0.1144 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5128 #28618A
analogous
#8A2830 #8A5128 #8A8228
triadic
#8A5128 #288A51 #51288A
tetradic
#8A5128 #308A28 #28618A #82288A
square
#8A5128 #308A28 #28618A #82288A
split-complementary
#8A5128 #288A82 #28308A
monochromatic
#2B190C #5B351A #8A5128 #B96D36 #D08D5D

Accessibility & contrast

On white

6.39
#8A5128 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8A5128 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5128
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5128#FFFFFF#000000##FFFFFF
##8A51281.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625724
Deuteranopia (green-blind)
#6F6428
Tritanopia (blue-blind)
#974548
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a5128;
/* rgb */ color: rgb(138, 81, 40);
/* oklch */ color: oklch(49.3% 0.094 54.2);
Tailwind
colors: {
  custom: {
    50: '#b18264',
    500: '#8a5128',
    950: '#000000',
  },
}
SCSS
$custom: #8a5128;
$custom-light: #b18264;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5128",
  "rgb": {
    "r": 138,
    "g": 81,
    "b": 40
  },
  "hsl": {
    "h": 25.102,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.49294,
    "c": 0.09429,
    "h": 54.2
  },
  "luminance": 0.11441
}

Semantic roles & 50–950 ramp

primary
#8A5128
secondary
#598EB5
accent
#A0DE49
background
#FBF7F6
surface
#F6EEEB
border
#D0C9C6
text
#110A05
muted
#807C7A

Preview Lab

Preview with #8A5128

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

Preview Lab → · Contrast checker → · Palette generator →

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