#8A5234#8A5234

#8A5234 is a mid, moderate orange. Relative luminance 0.117; OKLCH L 49.7% C 0.087 H 48.1°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#8A5234
RGBrgb(138, 82, 52)
HSLhsl(21, 45%, 37%)
HSVhsv(21, 62%, 54%)
CMYKcmyk(0%, 40.6%, 62.3%, 45.9%)
CIE-LABlab(40.71, 20.35, 27.33)
CIE-LCHlch(40.71, 34.07, 53.33°)
OKLaboklab(49.65% 0.058 0.0646)
OKLCHoklch(49.65% 0.087 48.1)
XYZxyz(14.1194, 11.6872, 4.7604)
Luminance0.1169 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5234 #346C8A
analogous
#8A3441 #8A5234 #8A7D34
triadic
#8A5234 #348A52 #52348A
tetradic
#8A5234 #418A34 #346C8A #7D348A
square
#8A5234 #418A34 #346C8A #7D348A
split-complementary
#8A5234 #348A7D #34418A
monochromatic
#311D13 #5E3823 #8A5234 #B66C45 #C98F6F

Accessibility & contrast

On white

6.29
#8A5234 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8A5234 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5234
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5234#FFFFFF#000000##FFFFFF
##8A52341.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615931
Deuteranopia (green-blind)
#6F6534
Tritanopia (blue-blind)
#96474B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a5234;
/* rgb */ color: rgb(138, 82, 52);
/* oklch */ color: oklch(49.7% 0.087 48.1);
Tailwind
colors: {
  custom: {
    50: '#b0836c',
    500: '#8a5234',
    950: '#000000',
  },
}
SCSS
$custom: #8a5234;
$custom-light: #b0836c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5234",
  "rgb": {
    "r": 138,
    "g": 82,
    "b": 52
  },
  "hsl": {
    "h": 20.93,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49651,
    "c": 0.08682,
    "h": 48.1
  },
  "luminance": 0.11686
}

Semantic roles & 50–950 ramp

primary
#8A5234
secondary
#6998B1
accent
#A8D553
background
#FBF8F6
surface
#F6EFEB
border
#D0CAC6
text
#110A07
muted
#807C7A

Preview Lab

Preview with #8A5234

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

Preview Lab → · Contrast checker → · Palette generator →

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