#8B9720#8B9720

#8B9720 is a light, vivid yellow. Relative luminance 0.277; OKLCH L 64.6% C 0.136 H 115.5°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#8B9720
RGBrgb(139, 151, 32)
HSLhsl(66, 65%, 36%)
HSVhsv(66, 79%, 59%)
CMYKcmyk(7.9%, 0%, 78.8%, 40.8%)
CIE-LABlab(59.64, -19.16, 56.21)
CIE-LCHlch(59.64, 59.39, 108.82°)
OKLaboklab(64.55% -0.0586 0.123)
OKLCHoklch(64.55% 0.136 115.5)
XYZxyz(21.9754, 27.7268, 5.5604)
Luminance0.2773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9720 #2C2097
analogous
#976720 #8B9720 #509720
triadic
#8B9720 #208B97 #97208B
tetradic
#8B9720 #209767 #2C2097 #972050
square
#8B9720 #209767 #2C2097 #972050
split-complementary
#8B9720 #205097 #672097
monochromatic
#2E320B #5D6415 #8B9720 #B9C92B #CEDB56

Accessibility & contrast

On white

3.21
#8B9720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#8B9720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9720
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9720#FFFFFF#000000##000000
##8B97201.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#A1912B
Tritanopia (blue-blind)
#948E81
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8b9720;
/* rgb */ color: rgb(139, 151, 32);
/* oklch */ color: oklch(64.6% 0.136 115.5);
Tailwind
colors: {
  custom: {
    50: '#b0b566',
    500: '#8b9720',
    950: '#000000',
  },
}
SCSS
$custom: #8b9720;
$custom-light: #b0b566;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9720",
  "rgb": {
    "r": 139,
    "g": 151,
    "b": 32
  },
  "hsl": {
    "h": 66.05,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.64553,
    "c": 0.1362,
    "h": 115.5
  },
  "luminance": 0.27726
}

Semantic roles & 50–950 ramp

primary
#8B9720
secondary
#5F54BF
accent
#40E851
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8B9720

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

Preview Lab → · Contrast checker → · Palette generator →

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