#8A7932#8A7932

#8A7932 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.7% C 0.093 H 95.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8A7932
RGBrgb(138, 121, 50)
HSLhsl(48, 47%, 37%)
HSVhsv(48, 64%, 54%)
CMYKcmyk(0%, 12.3%, 63.8%, 45.9%)
CIE-LABlab(51.05, -2.42, 40.34)
CIE-LCHlch(51.05, 40.41, 93.44°)
OKLaboklab(57.72% -0.0095 0.0925)
OKLCHoklch(57.72% 0.093 95.9)
XYZxyz(17.8951, 19.3092, 5.8014)
Luminance0.1931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7932 #32438A
analogous
#8A4D32 #8A7932 #6F8A32
triadic
#8A7932 #328A79 #79328A
tetradic
#8A7932 #328A4D #32438A #8A326F
square
#8A7932 #328A4D #32438A #8A326F
split-complementary
#8A7932 #326F8A #4D328A
monochromatic
#302A11 #5D5222 #8A7932 #B7A042 #CAB86C

Accessibility & contrast

On white

4.32
#8A7932 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#8A7932 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7932
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7932#FFFFFF#000000##000000
##8A79321.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#85762A
Deuteranopia (green-blind)
#897C35
Tritanopia (blue-blind)
#95706A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a7932;
/* rgb */ color: rgb(138, 121, 50);
/* oklch */ color: oklch(57.7% 0.093 95.9);
Tailwind
colors: {
  custom: {
    50: '#af9f6d',
    500: '#8a7932',
    950: '#000000',
  },
}
SCSS
$custom: #8a7932;
$custom-light: #af9f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7932",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 50
  },
  "hsl": {
    "h": 48.409,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.5772,
    "c": 0.09304,
    "h": 95.9
  },
  "luminance": 0.19308
}

Semantic roles & 50–950 ramp

primary
#8A7932
secondary
#6675B2
accent
#6BD651
background
#FBF9F6
surface
#F6F2EC
border
#D0CCC7
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8A7932

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

Preview Lab → · Contrast checker → · Palette generator →

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