#8B9520#8B9520

#8B9520 is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.1% C 0.134 H 114.6°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8B9520
RGBrgb(139, 149, 32)
HSLhsl(65, 65%, 35%)
HSVhsv(65, 79%, 58%)
CMYKcmyk(6.7%, 0%, 78.5%, 41.6%)
CIE-LABlab(59.06, -18.13, 55.68)
CIE-LCHlch(59.06, 58.56, 108.04°)
OKLaboklab(64.08% -0.0558 0.1218)
OKLCHoklch(64.08% 0.134 114.6)
XYZxyz(21.6563, 27.0886, 5.4540)
Luminance0.2709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9520 #2A2095
analogous
#956420 #8B9520 #509520
triadic
#8B9520 #208B95 #95208B
tetradic
#8B9520 #209564 #2A2095 #952050
square
#8B9520 #209564 #2A2095 #952050
split-complementary
#8B9520 #205095 #642095
monochromatic
#2D300A #5C6315 #8B9520 #BAC72B #CFDA55

Accessibility & contrast

On white

3.27
#8B9520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#8B9520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9520
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9520#FFFFFF#000000##000000
##8B95201.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#A08F2B
Tritanopia (blue-blind)
#958C7F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8b9520;
/* rgb */ color: rgb(139, 149, 32);
/* oklch */ color: oklch(64.1% 0.134 114.6);
Tailwind
colors: {
  custom: {
    50: '#b0b466',
    500: '#8b9520',
    950: '#000000',
  },
}
SCSS
$custom: #8b9520;
$custom-light: #b0b466;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9520",
  "rgb": {
    "r": 139,
    "g": 149,
    "b": 32
  },
  "hsl": {
    "h": 65.128,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.64083,
    "c": 0.13397,
    "h": 114.6
  },
  "luminance": 0.27088
}

Semantic roles & 50–950 ramp

primary
#8B9520
secondary
#5C53BE
accent
#40E84E
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8B9520

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

Preview Lab → · Contrast checker → · Palette generator →

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