#8A5917#8A5917

#8A5917 is a mid, moderate orange. Relative luminance 0.126; OKLCH L 50.7% C 0.101 H 68.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8A5917
RGBrgb(138, 89, 23)
HSLhsl(34, 71%, 32%)
HSVhsv(34, 83%, 54%)
CMYKcmyk(0%, 35.5%, 83.3%, 45.9%)
CIE-LABlab(42.17, 14.63, 43.48)
CIE-LCHlch(42.17, 45.87, 71.40°)
OKLaboklab(50.69% 0.0364 0.0937)
OKLCHoklch(50.69% 0.101 68.8)
XYZxyz(14.2094, 12.6112, 2.4963)
Luminance0.1261 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5917 #17488A
analogous
#8A2017 #8A5917 #828A17
triadic
#8A5917 #178A59 #59178A
tetradic
#8A5917 #178A20 #17488A #8A1782
square
#8A5917 #178A20 #17488A #8A1782
split-complementary
#8A5917 #17828A #20178A
monochromatic
#211506 #56370E #8A5917 #BE7B20 #DF9A3D

Accessibility & contrast

On white

5.96
#8A5917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8A5917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5917
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5917#FFFFFF#000000##FFFFFF
##8A59171.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D0B
Deuteranopia (green-blind)
#756819
Tritanopia (blue-blind)
#974D4C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a5917;
/* rgb */ color: rgb(138, 89, 23);
/* oklch */ color: oklch(50.7% 0.101 68.8);
Tailwind
colors: {
  custom: {
    50: '#b1885a',
    500: '#8a5917',
    950: '#000000',
  },
}
SCSS
$custom: #8a5917;
$custom-light: #b1885a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5917",
  "rgb": {
    "r": 138,
    "g": 89,
    "b": 23
  },
  "hsl": {
    "h": 34.435,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.50685,
    "c": 0.10055,
    "h": 68.8
  },
  "luminance": 0.1261
}

Semantic roles & 50–950 ramp

primary
#8A5917
secondary
#3F75BE
accent
#87EE3A
background
#FBF8F5
surface
#F6EFE9
border
#D0CAC5
text
#120B04
muted
#817C79

Preview Lab

Preview with #8A5917

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

Preview Lab → · Contrast checker → · Palette generator →

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