#8B9721#8B9721

#8B9721 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#8B9721
RGBrgb(139, 151, 33)
HSLhsl(66, 64%, 36%)
HSVhsv(66, 78%, 59%)
CMYKcmyk(7.9%, 0%, 78.1%, 40.8%)
CIE-LABlab(59.65, -19.12, 55.90)
CIE-LCHlch(59.65, 59.08, 108.88°)
OKLaboklab(64.56% -0.0584 0.1225)
OKLCHoklch(64.56% 0.136 115.5)
XYZxyz(21.9892, 27.7324, 5.6331)
Luminance0.2773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9721 #2D2197
analogous
#976821 #8B9721 #509721
triadic
#8B9721 #218B97 #97218B
tetradic
#8B9721 #219768 #2D2197 #972150
square
#8B9721 #219768 #2D2197 #972150
split-complementary
#8B9721 #215097 #682197
monochromatic
#2F330B #5D6516 #8B9721 #B9C92C #CDDA58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B9721#FFFFFF#000000##000000
##8B97211.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)
#A1912C
Tritanopia (blue-blind)
#948E81
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8b9721;
/* rgb */ color: rgb(139, 151, 33);
/* oklch */ color: oklch(64.6% 0.136 115.5);
Tailwind
colors: {
  custom: {
    50: '#b0b567',
    500: '#8b9721',
    950: '#000000',
  },
}
SCSS
$custom: #8b9721;
$custom-light: #b0b567;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9721",
  "rgb": {
    "r": 139,
    "g": 151,
    "b": 33
  },
  "hsl": {
    "h": 66.102,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.64558,
    "c": 0.13568,
    "h": 115.5
  },
  "luminance": 0.27732
}

Semantic roles & 50–950 ramp

primary
#8B9721
secondary
#6055BE
accent
#41E752
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8B9721

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

Preview Lab → · Contrast checker → · Palette generator →

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