#8A5118#8A5118

#8A5118 is a mid, moderate orange. Relative luminance 0.114; OKLCH L 49.1% C 0.102 H 60.5°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8A5118
RGBrgb(138, 81, 24)
HSLhsl(30, 70%, 32%)
HSVhsv(30, 83%, 54%)
CMYKcmyk(0%, 41.3%, 82.6%, 45.9%)
CIE-LABlab(40.17, 19.33, 41.24)
CIE-LCHlch(40.17, 45.55, 64.89°)
OKLaboklab(49.14% 0.0504 0.0891)
OKLCHoklch(49.14% 0.102 60.5)
XYZxyz(13.5897, 11.3555, 2.3401)
Luminance0.1135 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5118 #18518A
analogous
#8A1818 #8A5118 #8A8A18
triadic
#8A5118 #188A51 #51188A
tetradic
#8A5118 #188A18 #18518A #8A188A
square
#8A5118 #188A18 #18518A #8A188A
split-complementary
#8A5118 #188A8A #18188A
monochromatic
#221406 #56320F #8A5118 #BE7021 #DE8E3F

Accessibility & contrast

On white

6.42
#8A5118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8A5118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5118
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5118#FFFFFF#000000##FFFFFF
##8A51181.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62570F
Deuteranopia (green-blind)
#706418
Tritanopia (blue-blind)
#974446
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a5118;
/* rgb */ color: rgb(138, 81, 24);
/* oklch */ color: oklch(49.1% 0.102 60.5);
Tailwind
colors: {
  custom: {
    50: '#b2825a',
    500: '#8a5118',
    950: '#000000',
  },
}
SCSS
$custom: #8a5118;
$custom-light: #b2825a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5118",
  "rgb": {
    "r": 138,
    "g": 81,
    "b": 24
  },
  "hsl": {
    "h": 30,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.49138,
    "c": 0.10238,
    "h": 60.5
  },
  "luminance": 0.11354
}

Semantic roles & 50–950 ramp

primary
#8A5118
secondary
#407FBD
accent
#94ED3B
background
#FBF7F5
surface
#F6EEE9
border
#D0C9C5
text
#120A04
muted
#817C79

Preview Lab

Preview with #8A5118

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

Preview Lab → · Contrast checker → · Palette generator →

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