#8A5F31#8A5F31

#8A5F31 is a mid, moderate orange. Relative luminance 0.138; OKLCH L 52.2% C 0.084 H 66.0°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8A5F31
RGBrgb(138, 95, 49)
HSLhsl(31, 48%, 37%)
HSVhsv(31, 64%, 54%)
CMYKcmyk(0%, 31.2%, 64.5%, 45.9%)
CIE-LABlab(43.96, 12.52, 32.86)
CIE-LCHlch(43.96, 35.16, 69.13°)
OKLaboklab(52.15% 0.034 0.0763)
OKLCHoklch(52.15% 0.084 66)
XYZxyz(15.1288, 13.8107, 4.7741)
Luminance0.1381 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5F31 #315C8A
analogous
#8A3231 #8A5F31 #898A31
triadic
#8A5F31 #318A5F #5F318A
tetradic
#8A5F31 #318A32 #315C8A #8A3189
square
#8A5F31 #318A32 #315C8A #8A3189
split-complementary
#8A5F31 #31898A #32318A
monochromatic
#302111 #5D4021 #8A5F31 #B77E41 #CA9C6B

Accessibility & contrast

On white

5.58
#8A5F31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8A5F31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5F31
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5F31#FFFFFF#000000##FFFFFF
##8A5F311.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D622D
Deuteranopia (green-blind)
#776C32
Tritanopia (blue-blind)
#965554
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a5f31;
/* rgb */ color: rgb(138, 95, 49);
/* oklch */ color: oklch(52.2% 0.084 66.0);
Tailwind
colors: {
  custom: {
    50: '#af8c6b',
    500: '#8a5f31',
    950: '#000000',
  },
}
SCSS
$custom: #8a5f31;
$custom-light: #af8c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5f31",
  "rgb": {
    "r": 138,
    "g": 95,
    "b": 49
  },
  "hsl": {
    "h": 31.011,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.52152,
    "c": 0.08358,
    "h": 66
  },
  "luminance": 0.13809
}

Semantic roles & 50–950 ramp

primary
#8A5F31
secondary
#658AB2
accent
#92D751
background
#FBF8F6
surface
#F6F0EB
border
#D0CBC6
text
#110C06
muted
#807D7A

Preview Lab

Preview with #8A5F31

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

Preview Lab → · Contrast checker → · Palette generator →

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