#8A5F12#8A5F12

#8A5F12 is a mid, moderate orange. Relative luminance 0.136; OKLCH L 51.9% C 0.102 H 75.8°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8A5F12
RGBrgb(138, 95, 18)
HSLhsl(39, 77%, 31%)
HSVhsv(39, 87%, 54%)
CMYKcmyk(0%, 31.2%, 87%, 45.9%)
CIE-LABlab(43.70, 10.95, 46.62)
CIE-LCHlch(43.70, 47.89, 76.78°)
OKLaboklab(51.87% 0.0252 0.0993)
OKLCHoklch(51.87% 0.102 75.8)
XYZxyz(14.6837, 13.6327, 2.4302)
Luminance0.1363 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5F12 #123D8A
analogous
#8A2312 #8A5F12 #798A12
triadic
#8A5F12 #128A5F #5F128A
tetradic
#8A5F12 #128A23 #123D8A #8A1279
square
#8A5F12 #128A23 #123D8A #8A1279
split-complementary
#8A5F12 #12798A #23128A
monochromatic
#1E1404 #543A0B #8A5F12 #C08419 #E4A432

Accessibility & contrast

On white

5.64
#8A5F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8A5F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5F12
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5F12#FFFFFF#000000##FFFFFF
##8A5F121.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6100
Deuteranopia (green-blind)
#796B16
Tritanopia (blue-blind)
#975351
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a5f12;
/* rgb */ color: rgb(138, 95, 18);
/* oklch */ color: oklch(51.9% 0.102 75.8);
Tailwind
colors: {
  custom: {
    50: '#b18c59',
    500: '#8a5f12',
    950: '#000000',
  },
}
SCSS
$custom: #8a5f12;
$custom-light: #b18c59;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5f12",
  "rgb": {
    "r": 138,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 38.5,
    "s": 76.923,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51868,
    "c": 0.10244,
    "h": 75.8
  },
  "luminance": 0.13631
}

Semantic roles & 50–950 ramp

primary
#8A5F12
secondary
#3969BF
accent
#79F334
background
#FBF8F5
surface
#F6F0E9
border
#D0CBC5
text
#120C04
muted
#817D79

Preview Lab

Preview with #8A5F12

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

Preview Lab → · Contrast checker → · Palette generator →

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