#8B9921#8B9921

#8B9921 is a light, vivid yellow. Relative luminance 0.284; OKLCH L 65.0% C 0.138 H 116.3°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#8B9921
RGBrgb(139, 153, 33)
HSLhsl(67, 65%, 36%)
HSVhsv(67, 78%, 60%)
CMYKcmyk(9.2%, 0%, 78.4%, 40%)
CIE-LABlab(60.23, -20.14, 56.44)
CIE-LCHlch(60.23, 59.92, 109.64°)
OKLaboklab(65.03% -0.0612 0.1236)
OKLCHoklch(65.03% 0.138 116.3)
XYZxyz(22.3138, 28.3816, 5.7413)
Luminance0.2838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9921 #2F2199
analogous
#996B21 #8B9921 #4F9921
triadic
#8B9921 #218B99 #99218B
tetradic
#8B9921 #21996B #2F2199 #99214F
square
#8B9921 #21996B #2F2199 #99214F
split-complementary
#8B9921 #214F99 #6B2199
monochromatic
#30340B #5D6716 #8B9921 #B9CB2C #CCDB59

Accessibility & contrast

On white

3.15
#8B9921 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#8B9921 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9921
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9921#FFFFFF#000000##000000
##8B99211.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#A3922C
Tritanopia (blue-blind)
#949083
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8b9921;
/* rgb */ color: rgb(139, 153, 33);
/* oklch */ color: oklch(65.0% 0.138 116.3);
Tailwind
colors: {
  custom: {
    50: '#b0b667',
    500: '#8b9921',
    950: '#000000',
  },
}
SCSS
$custom: #8b9921;
$custom-light: #b0b667;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9921",
  "rgb": {
    "r": 139,
    "g": 153,
    "b": 33
  },
  "hsl": {
    "h": 67,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.65029,
    "c": 0.13794,
    "h": 116.3
  },
  "luminance": 0.28381
}

Semantic roles & 50–950 ramp

primary
#8B9921
secondary
#6356BF
accent
#40E854
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8B9921

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

Preview Lab → · Contrast checker → · Palette generator →

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