#8A7240#8A7240

#8A7240 is a mid, moderate orange. Relative luminance 0.178; OKLCH L 56.4% C 0.074 H 84.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8A7240
RGBrgb(138, 114, 64)
HSLhsl(41, 37%, 40%)
HSVhsv(41, 54%, 54%)
CMYKcmyk(0%, 17.4%, 53.6%, 45.9%)
CIE-LABlab(49.26, 2.73, 31.02)
CIE-LCHlch(49.26, 31.14, 84.97°)
OKLaboklab(56.37% 0.0073 0.074)
OKLCHoklch(56.37% 0.074 84.4)
XYZxyz(17.4247, 17.8090, 7.3692)
Luminance0.1781 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7240 #40588A
analogous
#8A4D40 #8A7240 #7D8A40
triadic
#8A7240 #408A72 #72408A
tetradic
#8A7240 #408A4D #40588A #8A407D
square
#8A7240 #408A4D #40588A #8A407D
split-complementary
#8A7240 #407D8A #4D408A
monochromatic
#362D19 #604F2D #8A7240 #B19356 #C4AE80

Accessibility & contrast

On white

4.60
#8A7240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#8A7240 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A7240
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7240#FFFFFF#000000##FFFFFF
##8A72401.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D713C
Deuteranopia (green-blind)
#837842
Tritanopia (blue-blind)
#946A66
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a7240;
/* rgb */ color: rgb(138, 114, 64);
/* oklch */ color: oklch(56.4% 0.074 84.4);
Tailwind
colors: {
  custom: {
    50: '#ae9a76',
    500: '#8a7240',
    950: '#000000',
  },
}
SCSS
$custom: #8a7240;
$custom-light: #ae9a76;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7240",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 64
  },
  "hsl": {
    "h": 40.541,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.56366,
    "c": 0.07435,
    "h": 84.4
  },
  "luminance": 0.17808
}

Semantic roles & 50–950 ramp

primary
#8A7240
secondary
#7789AF
accent
#80CD5B
background
#FAF9F7
surface
#F5F2ED
border
#CFCCC8
text
#110E08
muted
#807E7B

Preview Lab

Preview with #8A7240

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

Preview Lab → · Contrast checker → · Palette generator →

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