#8A5740#8A5740

#8A5740 is a mid, moderate orange. Relative luminance 0.126; OKLCH L 50.8% C 0.076 H 44.9°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8A5740
RGBrgb(138, 87, 64)
HSLhsl(19, 37%, 40%)
HSVhsv(19, 54%, 54%)
CMYKcmyk(0%, 37%, 53.6%, 45.9%)
CIE-LABlab(42.14, 18.48, 22.08)
CIE-LCHlch(42.14, 28.80, 50.06°)
OKLaboklab(50.81% 0.0541 0.0539)
OKLCHoklch(50.81% 0.076 44.9)
XYZxyz(14.8157, 12.5911, 6.4995)
Luminance0.1259 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5740 #40738A
analogous
#8A404E #8A5740 #8A7C40
triadic
#8A5740 #408A57 #57408A
tetradic
#8A5740 #4E8A40 #40738A #7C408A
square
#8A5740 #4E8A40 #40738A #7C408A
split-complementary
#8A5740 #408A7C #404E8A
monochromatic
#362219 #603D2D #8A5740 #B17256 #C49580

Accessibility & contrast

On white

5.97
#8A5740 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8A5740 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5740
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5740#FFFFFF#000000##FFFFFF
##8A57401.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645D3E
Deuteranopia (green-blind)
#716840
Tritanopia (blue-blind)
#954E51
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a5740;
/* rgb */ color: rgb(138, 87, 64);
/* oklch */ color: oklch(50.8% 0.076 44.9);
Tailwind
colors: {
  custom: {
    50: '#af8675',
    500: '#8a5740',
    950: '#000000',
  },
}
SCSS
$custom: #8a5740;
$custom-light: #af8675;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5740",
  "rgb": {
    "r": 138,
    "g": 87,
    "b": 64
  },
  "hsl": {
    "h": 18.649,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50813,
    "c": 0.07635,
    "h": 44.9
  },
  "luminance": 0.1259
}

Semantic roles & 50–950 ramp

primary
#8A5740
secondary
#779DAF
accent
#A9CD5B
background
#FBF8F7
surface
#F6EFED
border
#D0CAC8
text
#110B08
muted
#807C7B

Preview Lab

Preview with #8A5740

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

Preview Lab → · Contrast checker → · Palette generator →

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