#8A5E12#8A5E12

#8A5E12 is a mid, moderate orange. Relative luminance 0.135; OKLCH L 51.7% C 0.102 H 74.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8A5E12
RGBrgb(138, 94, 18)
HSLhsl(38, 77%, 31%)
HSVhsv(38, 87%, 54%)
CMYKcmyk(0%, 31.9%, 87%, 45.9%)
CIE-LABlab(43.44, 11.54, 46.40)
CIE-LCHlch(43.44, 47.82, 76.03°)
OKLaboklab(51.66% 0.0269 0.0988)
OKLCHoklch(51.66% 0.102 74.8)
XYZxyz(14.5942, 13.4537, 2.4003)
Luminance0.1345 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5E12 #123E8A
analogous
#8A2212 #8A5E12 #7A8A12
triadic
#8A5E12 #128A5E #5E128A
tetradic
#8A5E12 #128A22 #123E8A #8A127A
square
#8A5E12 #128A22 #123E8A #8A127A
split-complementary
#8A5E12 #127A8A #22128A
monochromatic
#1E1404 #54390B #8A5E12 #C08319 #E4A332

Accessibility & contrast

On white

5.69
#8A5E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8A5E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5E12
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5E12#FFFFFF#000000##FFFFFF
##8A5E121.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#786B15
Tritanopia (blue-blind)
#975250
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a5e12;
/* rgb */ color: rgb(138, 94, 18);
/* oklch */ color: oklch(51.7% 0.102 74.8);
Tailwind
colors: {
  custom: {
    50: '#b18b58',
    500: '#8a5e12',
    950: '#000000',
  },
}
SCSS
$custom: #8a5e12;
$custom-light: #b18b58;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5e12",
  "rgb": {
    "r": 138,
    "g": 94,
    "b": 18
  },
  "hsl": {
    "h": 38,
    "s": 76.923,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51663,
    "c": 0.1024,
    "h": 74.8
  },
  "luminance": 0.13452
}

Semantic roles & 50–950 ramp

primary
#8A5E12
secondary
#396ABF
accent
#7AF334
background
#FBF8F5
surface
#F6F0E9
border
#D0CBC5
text
#120C04
muted
#817D79

Preview Lab

Preview with #8A5E12

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

Preview Lab → · Contrast checker → · Palette generator →

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