#8B9922#8B9922

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

Color values

HEX#8B9922
RGBrgb(139, 153, 34)
HSLhsl(67, 64%, 37%)
HSVhsv(67, 78%, 60%)
CMYKcmyk(9.2%, 0%, 77.8%, 40%)
CIE-LABlab(60.24, -20.09, 56.12)
CIE-LCHlch(60.24, 59.61, 109.70°)
OKLaboklab(65.03% -0.061 0.1231)
OKLCHoklch(65.03% 0.137 116.4)
XYZxyz(22.3280, 28.3872, 5.8161)
Luminance0.2839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9922 #302299
analogous
#996C22 #8B9922 #509922
triadic
#8B9922 #228B99 #99228B
tetradic
#8B9922 #22996C #302299 #992250
square
#8B9922 #22996C #302299 #992250
split-complementary
#8B9922 #225099 #6C2299
monochromatic
#30350C #5E6717 #8B9922 #B8CB2D #CCDB5B

Accessibility & contrast

On white

3.14
#8B9922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B9922#FFFFFF#000000##000000
##8B99221.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b9922;
/* rgb */ color: rgb(139, 153, 34);
/* oklch */ color: oklch(65.0% 0.137 116.4);
Tailwind
colors: {
  custom: {
    50: '#b0b668',
    500: '#8b9922',
    950: '#000000',
  },
}
SCSS
$custom: #8b9922;
$custom-light: #b0b668;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9922",
  "rgb": {
    "r": 139,
    "g": 153,
    "b": 34
  },
  "hsl": {
    "h": 67.059,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.65034,
    "c": 0.13741,
    "h": 116.4
  },
  "luminance": 0.28387
}

Semantic roles & 50–950 ramp

primary
#8B9922
secondary
#6458BF
accent
#41E755
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8B9922

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

Preview Lab → · Contrast checker → · Palette generator →

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