#8B8932#8B8932

#8B8932 is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.4% C 0.109 H 107.9°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8B8932
RGBrgb(139, 137, 50)
HSLhsl(59, 47%, 37%)
HSVhsv(59, 64%, 55%)
CMYKcmyk(0%, 1.4%, 64%, 45.5%)
CIE-LABlab(55.70, -10.80, 45.40)
CIE-LCHlch(55.70, 46.67, 103.38°)
OKLaboklab(61.43% -0.0334 0.1033)
OKLCHoklch(61.43% 0.109 107.9)
XYZxyz(20.1695, 23.6112, 6.5119)
Luminance0.2361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8932 #32348B
analogous
#8B5D32 #8B8932 #608B32
triadic
#8B8932 #328B89 #89328B
tetradic
#8B8932 #328B5D #32348B #8B3260
square
#8B8932 #328B5D #32348B #8B3260
split-complementary
#8B8932 #32608B #5D328B
monochromatic
#313012 #5E5D22 #8B8932 #B8B542 #CAC86D

Accessibility & contrast

On white

3.67
#8B8932 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#8B8932 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8932
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8932#FFFFFF#000000##000000
##8B89321.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b8932;
/* rgb */ color: rgb(139, 137, 50);
/* oklch */ color: oklch(61.4% 0.109 107.9);
Tailwind
colors: {
  custom: {
    50: '#afab6e',
    500: '#8b8932',
    950: '#000000',
  },
}
SCSS
$custom: #8b8932;
$custom-light: #afab6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8932",
  "rgb": {
    "r": 139,
    "g": 137,
    "b": 50
  },
  "hsl": {
    "h": 58.652,
    "s": 47.09,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61435,
    "c": 0.10854,
    "h": 107.9
  },
  "luminance": 0.23611
}

Semantic roles & 50–950 ramp

primary
#8B8932
secondary
#6768B2
accent
#54D751
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8B8932

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

Preview Lab → · Contrast checker → · Palette generator →

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