#8A7432#8A7432

#8A7432 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.6% C 0.089 H 90.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8A7432
RGBrgb(138, 116, 50)
HSLhsl(45, 47%, 37%)
HSVhsv(45, 64%, 54%)
CMYKcmyk(0%, 15.9%, 63.8%, 45.9%)
CIE-LABlab(49.65, 0.41, 38.79)
CIE-LCHlch(49.65, 38.79, 89.39°)
OKLaboklab(56.61% -0.0013 0.0892)
OKLCHoklch(56.61% 0.089 90.8)
XYZxyz(17.3032, 18.1253, 5.6041)
Luminance0.1812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7432 #32488A
analogous
#8A4832 #8A7432 #748A32
triadic
#8A7432 #328A74 #74328A
tetradic
#8A7432 #328A48 #32488A #8A3274
square
#8A7432 #328A48 #32488A #8A3274
split-complementary
#8A7432 #32748A #48328A
monochromatic
#302811 #5D4E22 #8A7432 #B79A42 #CAB36C

Accessibility & contrast

On white

4.54
#8A7432 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#8A7432 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7432
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7432#FFFFFF#000000##000000
##8A74321.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#80722B
Deuteranopia (green-blind)
#857935
Tritanopia (blue-blind)
#956B66
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a7432;
/* rgb */ color: rgb(138, 116, 50);
/* oklch */ color: oklch(56.6% 0.089 90.8);
Tailwind
colors: {
  custom: {
    50: '#af9b6d',
    500: '#8a7432',
    950: '#000000',
  },
}
SCSS
$custom: #8a7432;
$custom-light: #af9b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7432",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 50
  },
  "hsl": {
    "h": 45,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.56614,
    "c": 0.08925,
    "h": 90.8
  },
  "luminance": 0.18124
}

Semantic roles & 50–950 ramp

primary
#8A7432
secondary
#6679B2
accent
#73D651
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8A7432

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

Preview Lab → · Contrast checker → · Palette generator →

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