#8A7320#8A7320

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

Color values

HEX#8A7320
RGBrgb(138, 115, 32)
HSLhsl(47, 62%, 33%)
HSVhsv(47, 77%, 54%)
CMYKcmyk(0%, 16.7%, 76.8%, 45.9%)
CIE-LABlab(49.22, -0.09, 46.47)
CIE-LCHlch(49.22, 46.47, 90.11°)
OKLaboklab(56.22% -0.005 0.1023)
OKLCHoklch(56.22% 0.102 92.8)
XYZxyz(16.8736, 17.7700, 3.9074)
Luminance0.1777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7320 #20378A
analogous
#8A3E20 #8A7320 #6C8A20
triadic
#8A7320 #208A73 #73208A
tetradic
#8A7320 #208A3E #20378A #8A206C
square
#8A7320 #208A3E #20378A #8A206C
split-complementary
#8A7320 #206C8A #3E208A
monochromatic
#272009 #584A14 #8A7320 #BC9C2C #D6B94E

Accessibility & contrast

On white

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

On black

4.55
#8A7320 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8A7320#FFFFFF#000000##FFFFFF
##8A73201.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a7320;
/* rgb */ color: rgb(138, 115, 32);
/* oklch */ color: oklch(56.2% 0.102 92.8);
Tailwind
colors: {
  custom: {
    50: '#b09a62',
    500: '#8a7320',
    950: '#000000',
  },
}
SCSS
$custom: #8a7320;
$custom-light: #b09a62;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7320",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 32
  },
  "hsl": {
    "h": 46.981,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56224,
    "c": 0.1024,
    "h": 92.8
  },
  "luminance": 0.17769
}

Semantic roles & 50–950 ramp

primary
#8A7320
secondary
#4D64B9
accent
#66E542
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8A7320

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

Preview Lab → · Contrast checker → · Palette generator →

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