#8A7327#8A7327

#8A7327 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 56.3% C 0.098 H 91.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8A7327
RGBrgb(138, 115, 39)
HSLhsl(46, 56%, 35%)
HSVhsv(46, 72%, 54%)
CMYKcmyk(0%, 16.7%, 71.7%, 45.9%)
CIE-LABlab(49.27, 0.27, 43.57)
CIE-LCHlch(49.27, 43.57, 89.64°)
OKLaboklab(56.28% -0.0032 0.0976)
OKLCHoklch(56.28% 0.098 91.9)
XYZxyz(16.9791, 17.8122, 4.4628)
Luminance0.1781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7327 #273E8A
analogous
#8A4227 #8A7327 #6F8A27
triadic
#8A7327 #278A73 #73278A
tetradic
#8A7327 #278A42 #273E8A #8A276F
square
#8A7327 #278A42 #273E8A #8A276F
split-complementary
#8A7327 #276F8A #42278A
monochromatic
#2B230C #5A4B1A #8A7327 #BA9B34 #D1B55B

Accessibility & contrast

On white

4.60
#8A7327 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#8A7327 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A7327
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7327#FFFFFF#000000##FFFFFF
##8A73271.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80711D
Deuteranopia (green-blind)
#85782B
Tritanopia (blue-blind)
#956963
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a7327;
/* rgb */ color: rgb(138, 115, 39);
/* oklch */ color: oklch(56.3% 0.098 91.9);
Tailwind
colors: {
  custom: {
    50: '#af9b66',
    500: '#8a7327',
    950: '#000000',
  },
}
SCSS
$custom: #8a7327;
$custom-light: #af9b66;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7327",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 39
  },
  "hsl": {
    "h": 46.061,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56282,
    "c": 0.0976,
    "h": 91.9
  },
  "luminance": 0.17811
}

Semantic roles & 50–950 ramp

primary
#8A7327
secondary
#576DB6
accent
#6CDF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7327

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

Preview Lab → · Contrast checker → · Palette generator →

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