#8A6540#8A6540

#8A6540 is a mid, moderate orange. Relative luminance 0.151; OKLCH L 53.6% C 0.071 H 65.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8A6540
RGBrgb(138, 101, 64)
HSLhsl(30, 37%, 40%)
HSVhsv(30, 54%, 54%)
CMYKcmyk(0%, 26.8%, 53.6%, 45.9%)
CIE-LABlab(45.75, 10.28, 26.67)
CIE-LCHlch(45.75, 28.58, 68.92°)
OKLaboklab(53.61% 0.0295 0.0643)
OKLCHoklch(53.61% 0.071 65.3)
XYZxyz(16.0611, 15.0819, 6.9147)
Luminance0.1508 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6540 #40658A
analogous
#8A4040 #8A6540 #8A8A40
triadic
#8A6540 #408A65 #65408A
tetradic
#8A6540 #408A40 #40658A #8A408A
square
#8A6540 #408A40 #40658A #8A408A
split-complementary
#8A6540 #408A8A #40408A
monochromatic
#362819 #60462D #8A6540 #B18456 #C4A280

Accessibility & contrast

On white

5.23
#8A6540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#8A6540 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A6540
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6540#FFFFFF#000000##FFFFFF
##8A65401.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71673D
Deuteranopia (green-blind)
#7A7041
Tritanopia (blue-blind)
#955D5C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8a6540;
/* rgb */ color: rgb(138, 101, 64);
/* oklch */ color: oklch(53.6% 0.071 65.3);
Tailwind
colors: {
  custom: {
    50: '#ae9075',
    500: '#8a6540',
    950: '#000000',
  },
}
SCSS
$custom: #8a6540;
$custom-light: #ae9075;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6540",
  "rgb": {
    "r": 138,
    "g": 101,
    "b": 64
  },
  "hsl": {
    "h": 30,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.53611,
    "c": 0.07073,
    "h": 65.3
  },
  "luminance": 0.15081
}

Semantic roles & 50–950 ramp

primary
#8A6540
secondary
#7793AF
accent
#94CD5B
background
#FBF8F7
surface
#F6F0ED
border
#D0CBC8
text
#110C08
muted
#807D7B

Preview Lab

Preview with #8A6540

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

Preview Lab → · Contrast checker → · Palette generator →

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