#8A7138#8A7138

#8A7138 is a mid, moderate orange. Relative luminance 0.175; OKLCH L 56.0% C 0.082 H 85.9°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8A7138
RGBrgb(138, 113, 56)
HSLhsl(42, 42%, 38%)
HSVhsv(42, 59%, 54%)
CMYKcmyk(0%, 18.1%, 59.4%, 45.9%)
CIE-LABlab(48.88, 2.60, 34.85)
CIE-LCHlch(48.88, 34.95, 85.74°)
OKLaboklab(56.03% 0.0058 0.0816)
OKLCHoklch(56.03% 0.082 85.9)
XYZxyz(17.1010, 17.5000, 6.2177)
Luminance0.1750 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7138 #38518A
analogous
#8A4838 #8A7138 #7A8A38
triadic
#8A7138 #388A71 #71388A
tetradic
#8A7138 #388A48 #38518A #8A387A
square
#8A7138 #388A48 #38518A #8A387A
split-complementary
#8A7138 #387A8A #48388A
monochromatic
#332A15 #5E4D26 #8A7138 #B5954A #C7AE75

Accessibility & contrast

On white

4.67
#8A7138 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#8A7138 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A7138
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7138#FFFFFF#000000##FFFFFF
##8A71381.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7033
Deuteranopia (green-blind)
#83773A
Tritanopia (blue-blind)
#956864
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a7138;
/* rgb */ color: rgb(138, 113, 56);
/* oklch */ color: oklch(56.0% 0.082 85.9);
Tailwind
colors: {
  custom: {
    50: '#af9970',
    500: '#8a7138',
    950: '#000000',
  },
}
SCSS
$custom: #8a7138;
$custom-light: #af9970;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7138",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 56
  },
  "hsl": {
    "h": 41.707,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.56034,
    "c": 0.08177,
    "h": 85.9
  },
  "luminance": 0.17499
}

Semantic roles & 50–950 ramp

primary
#8A7138
secondary
#6E82B0
accent
#7CD256
background
#FBF9F6
surface
#F6F2EC
border
#D0CCC7
text
#110D07
muted
#807E7A

Preview Lab

Preview with #8A7138

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

Preview Lab → · Contrast checker → · Palette generator →

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