#8A8932#8A8932

#8A8932 is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.3% C 0.109 H 108.6°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8A8932
RGBrgb(138, 137, 50)
HSLhsl(59, 47%, 37%)
HSVhsv(59, 64%, 54%)
CMYKcmyk(0%, 0.7%, 63.8%, 45.9%)
CIE-LABlab(55.61, -11.25, 45.28)
CIE-LCHlch(55.61, 46.66, 103.95°)
OKLaboklab(61.34% -0.0347 0.103)
OKLCHoklch(61.34% 0.109 108.6)
XYZxyz(20.0033, 23.5255, 6.5042)
Luminance0.2352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8932 #32338A
analogous
#8A5D32 #8A8932 #5F8A32
triadic
#8A8932 #328A89 #89328A
tetradic
#8A8932 #328A5D #32338A #8A325F
square
#8A8932 #328A5D #32338A #8A325F
split-complementary
#8A8932 #325F8A #5D328A
monochromatic
#303011 #5D5C22 #8A8932 #B7B642 #CAC96C

Accessibility & contrast

On white

3.68
#8A8932 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#8A8932 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8932
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8932#FFFFFF#000000##000000
##8A89321.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948427
Deuteranopia (green-blind)
#958737
Tritanopia (blue-blind)
#948077
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a8932;
/* rgb */ color: rgb(138, 137, 50);
/* oklch */ color: oklch(61.3% 0.109 108.6);
Tailwind
colors: {
  custom: {
    50: '#afab6e',
    500: '#8a8932',
    950: '#000000',
  },
}
SCSS
$custom: #8a8932;
$custom-light: #afab6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8932",
  "rgb": {
    "r": 138,
    "g": 137,
    "b": 50
  },
  "hsl": {
    "h": 59.318,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61344,
    "c": 0.10871,
    "h": 108.6
  },
  "luminance": 0.23525
}

Semantic roles & 50–950 ramp

primary
#8A8932
secondary
#6667B2
accent
#53D651
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A8932

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

Preview Lab → · Contrast checker → · Palette generator →

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