#8A5A17#8A5A17

#8A5A17 is a mid, moderate orange. Relative luminance 0.128; OKLCH L 50.9% C 0.100 H 69.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8A5A17
RGBrgb(138, 90, 23)
HSLhsl(35, 71%, 32%)
HSVhsv(35, 83%, 54%)
CMYKcmyk(0%, 34.8%, 83.3%, 45.9%)
CIE-LABlab(42.43, 14.04, 43.71)
CIE-LCHlch(42.43, 45.91, 72.19°)
OKLaboklab(50.88% 0.0347 0.0942)
OKLCHoklch(50.88% 0.1 69.8)
XYZxyz(14.2932, 12.7788, 2.5242)
Luminance0.1278 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5A17 #17478A
analogous
#8A2117 #8A5A17 #818A17
triadic
#8A5A17 #178A5A #5A178A
tetradic
#8A5A17 #178A21 #17478A #8A1781
square
#8A5A17 #178A21 #17478A #8A1781
split-complementary
#8A5A17 #17818A #21178A
monochromatic
#211606 #56380E #8A5A17 #BE7C20 #DF9B3D

Accessibility & contrast

On white

5.91
#8A5A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8A5A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5A17
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5A17#FFFFFF#000000##FFFFFF
##8A5A171.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D0A
Deuteranopia (green-blind)
#756919
Tritanopia (blue-blind)
#974E4D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a5a17;
/* rgb */ color: rgb(138, 90, 23);
/* oklch */ color: oklch(50.9% 0.100 69.8);
Tailwind
colors: {
  custom: {
    50: '#b1885a',
    500: '#8a5a17',
    950: '#000000',
  },
}
SCSS
$custom: #8a5a17;
$custom-light: #b1885a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5a17",
  "rgb": {
    "r": 138,
    "g": 90,
    "b": 23
  },
  "hsl": {
    "h": 34.957,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.50884,
    "c": 0.10041,
    "h": 69.8
  },
  "luminance": 0.12777
}

Semantic roles & 50–950 ramp

primary
#8A5A17
secondary
#3F74BE
accent
#85EE3A
background
#FBF8F5
surface
#F6EFE9
border
#D0CAC5
text
#120B04
muted
#817C79

Preview Lab

Preview with #8A5A17

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

Preview Lab → · Contrast checker → · Palette generator →

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