#8A7321#8A7321

#8A7321 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 56.2% C 0.102 H 92.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8A7321
RGBrgb(138, 115, 33)
HSLhsl(47, 61%, 34%)
HSVhsv(47, 76%, 54%)
CMYKcmyk(0%, 16.7%, 76.1%, 45.9%)
CIE-LABlab(49.22, -0.04, 46.08)
CIE-LCHlch(49.22, 46.08, 90.05°)
OKLaboklab(56.23% -0.0048 0.1017)
OKLCHoklch(56.23% 0.102 92.7)
XYZxyz(16.8874, 17.7755, 3.9801)
Luminance0.1777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7321 #21388A
analogous
#8A3E21 #8A7321 #6C8A21
triadic
#8A7321 #218A73 #73218A
tetradic
#8A7321 #218A3E #21388A #8A216C
square
#8A7321 #218A3E #21388A #8A216C
split-complementary
#8A7321 #216C8A #3E218A
monochromatic
#272109 #594A15 #8A7321 #BB9C2D #D5B850

Accessibility & contrast

On white

4.61
#8A7321 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A7321
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7321#FFFFFF#000000##FFFFFF
##8A73211.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807114
Deuteranopia (green-blind)
#867826
Tritanopia (blue-blind)
#966963
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a7321;
/* rgb */ color: rgb(138, 115, 33);
/* oklch */ color: oklch(56.2% 0.102 92.7);
Tailwind
colors: {
  custom: {
    50: '#b09b62',
    500: '#8a7321',
    950: '#000000',
  },
}
SCSS
$custom: #8a7321;
$custom-light: #b09b62;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7321",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 33
  },
  "hsl": {
    "h": 46.857,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56232,
    "c": 0.10176,
    "h": 92.7
  },
  "luminance": 0.17775
}

Semantic roles & 50–950 ramp

primary
#8A7321
secondary
#4E66B9
accent
#67E543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8A7321

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

Preview Lab → · Contrast checker → · Palette generator →

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