#8A5B12#8A5B12

#8A5B12 is a mid, moderate orange. Relative luminance 0.129; OKLCH L 51.1% C 0.102 H 71.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8A5B12
RGBrgb(138, 91, 18)
HSLhsl(37, 77%, 31%)
HSVhsv(37, 87%, 54%)
CMYKcmyk(0%, 34.1%, 87%, 45.9%)
CIE-LABlab(42.66, 13.30, 45.74)
CIE-LCHlch(42.66, 47.64, 73.79°)
OKLaboklab(51.05% 0.032 0.0974)
OKLCHoklch(51.05% 0.102 71.8)
XYZxyz(14.3326, 12.9305, 2.3131)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5B12 #12418A
analogous
#8A1F12 #8A5B12 #7D8A12
triadic
#8A5B12 #128A5B #5B128A
tetradic
#8A5B12 #128A1F #12418A #8A127D
square
#8A5B12 #128A1F #12418A #8A127D
split-complementary
#8A5B12 #127D8A #1F128A
monochromatic
#1E1404 #54370B #8A5B12 #C07F19 #E49E32

Accessibility & contrast

On white

5.86
#8A5B12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8A5B12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5B12
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5B12#FFFFFF#000000##FFFFFF
##8A5B121.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E01
Deuteranopia (green-blind)
#766915
Tritanopia (blue-blind)
#974F4E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a5b12;
/* rgb */ color: rgb(138, 91, 18);
/* oklch */ color: oklch(51.1% 0.102 71.8);
Tailwind
colors: {
  custom: {
    50: '#b18958',
    500: '#8a5b12',
    950: '#000000',
  },
}
SCSS
$custom: #8a5b12;
$custom-light: #b18958;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5b12",
  "rgb": {
    "r": 138,
    "g": 91,
    "b": 18
  },
  "hsl": {
    "h": 36.5,
    "s": 76.923,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51055,
    "c": 0.10247,
    "h": 71.8
  },
  "luminance": 0.12929
}

Semantic roles & 50–950 ramp

primary
#8A5B12
secondary
#396DBF
accent
#7FF334
background
#FBF8F5
surface
#F6F0E9
border
#D0CBC5
text
#120B04
muted
#817C79

Preview Lab

Preview with #8A5B12

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

Preview Lab → · Contrast checker → · Palette generator →

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