#8A7322#8A7322

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

Color values

HEX#8A7322
RGBrgb(138, 115, 34)
HSLhsl(47, 60%, 34%)
HSVhsv(47, 75%, 54%)
CMYKcmyk(0%, 16.7%, 75.4%, 45.9%)
CIE-LABlab(49.23, 0.01, 45.68)
CIE-LCHlch(49.23, 45.68, 89.99°)
OKLaboklab(56.24% -0.0045 0.101)
OKLCHoklch(56.24% 0.101 92.6)
XYZxyz(16.9016, 17.7812, 4.0550)
Luminance0.1778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7322 #22398A
analogous
#8A3F22 #8A7322 #6D8A22
triadic
#8A7322 #228A73 #73228A
tetradic
#8A7322 #228A3F #22398A #8A226D
square
#8A7322 #228A3F #22398A #8A226D
split-complementary
#8A7322 #226D8A #3F228A
monochromatic
#28210A #594A16 #8A7322 #BB9C2E #D4B852

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A7322#FFFFFF#000000##FFFFFF
##8A73221.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)
#807115
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#966963
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a7322;
/* rgb */ color: rgb(138, 115, 34);
/* oklch */ color: oklch(56.2% 0.101 92.6);
Tailwind
colors: {
  custom: {
    50: '#b09b63',
    500: '#8a7322',
    950: '#000000',
  },
}
SCSS
$custom: #8a7322;
$custom-light: #b09b63;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7322",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 34
  },
  "hsl": {
    "h": 46.731,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5624,
    "c": 0.10111,
    "h": 92.6
  },
  "luminance": 0.1778
}

Semantic roles & 50–950 ramp

primary
#8A7322
secondary
#5067B8
accent
#67E444
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8A7322

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

Preview Lab → · Contrast checker → · Palette generator →

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