#8A5A12#8A5A12

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

Color values

HEX#8A5A12
RGBrgb(138, 90, 18)
HSLhsl(36, 77%, 31%)
HSVhsv(36, 87%, 54%)
CMYKcmyk(0%, 34.8%, 87%, 45.9%)
CIE-LABlab(42.40, 13.88, 45.53)
CIE-LCHlch(42.40, 47.59, 73.04°)
OKLaboklab(50.85% 0.0337 0.0969)
OKLCHoklch(50.85% 0.103 70.8)
XYZxyz(14.2477, 12.7606, 2.2848)
Luminance0.1276 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5A12 #12428A
analogous
#8A1E12 #8A5A12 #7E8A12
triadic
#8A5A12 #128A5A #5A128A
tetradic
#8A5A12 #128A1E #12428A #8A127E
square
#8A5A12 #128A1E #12428A #8A127E
split-complementary
#8A5A12 #127E8A #1E128A
monochromatic
#1E1304 #54370B #8A5A12 #C07D19 #E49D32

Accessibility & contrast

On white

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

On black

3.55
#8A5A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8A5A12#FFFFFF#000000##FFFFFF
##8A5A121.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a5a12;
/* rgb */ color: rgb(138, 90, 18);
/* oklch */ color: oklch(50.9% 0.103 70.8);
Tailwind
colors: {
  custom: {
    50: '#b18858',
    500: '#8a5a12',
    950: '#000000',
  },
}
SCSS
$custom: #8a5a12;
$custom-light: #b18858;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5a12",
  "rgb": {
    "r": 138,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 36,
    "s": 76.923,
    "l": 30.588
  },
  "oklch": {
    "l": 0.50854,
    "c": 0.10255,
    "h": 70.8
  },
  "luminance": 0.12759
}

Semantic roles & 50–950 ramp

primary
#8A5A12
secondary
#396FBF
accent
#81F334
background
#FBF8F5
surface
#F6EFE9
border
#D0CAC5
text
#120B04
muted
#817C79

Preview Lab

Preview with #8A5A12

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

Preview Lab → · Contrast checker → · Palette generator →

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