#8B9732#8B9732

#8B9732 is a light, vivid yellow. Relative luminance 0.279; OKLCH L 64.7% C 0.125 H 115.8°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#8B9732
RGBrgb(139, 151, 50)
HSLhsl(67, 50%, 39%)
HSVhsv(67, 67%, 59%)
CMYKcmyk(7.9%, 0%, 66.9%, 40.8%)
CIE-LABlab(59.76, -18.19, 49.67)
CIE-LCHlch(59.76, 52.89, 110.12°)
OKLaboklab(64.68% -0.0542 0.1123)
OKLCHoklch(64.68% 0.125 115.8)
XYZxyz(22.2903, 27.8528, 7.2189)
Luminance0.2785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9732 #3E3297
analogous
#977132 #8B9732 #589732
triadic
#8B9732 #328B97 #97328B
tetradic
#8B9732 #329771 #3E3297 #973258
square
#8B9732 #329771 #3E3297 #973258
split-complementary
#8B9732 #325897 #713297
monochromatic
#363B14 #616923 #8B9732 #B3C145 #C5D173

Accessibility & contrast

On white

3.20
#8B9732 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#8B9732 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9732
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9732#FFFFFF#000000##000000
##8B97321.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F24
Deuteranopia (green-blind)
#A09139
Tritanopia (blue-blind)
#948E82
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8b9732;
/* rgb */ color: rgb(139, 151, 50);
/* oklch */ color: oklch(64.7% 0.125 115.8);
Tailwind
colors: {
  custom: {
    50: '#b0b570',
    500: '#8b9732',
    950: '#000000',
  },
}
SCSS
$custom: #8b9732;
$custom-light: #b0b570;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9732",
  "rgb": {
    "r": 139,
    "g": 151,
    "b": 50
  },
  "hsl": {
    "h": 67.129,
    "s": 50.249,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64681,
    "c": 0.12467,
    "h": 115.8
  },
  "luminance": 0.27852
}

Semantic roles & 50–950 ramp

primary
#8B9732
secondary
#756CB9
accent
#4EDA5F
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8B9732

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

Preview Lab → · Contrast checker → · Palette generator →

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