#8B9820#8B9820

#8B9820 is a light, vivid yellow. Relative luminance 0.281; OKLCH L 64.8% C 0.137 H 115.9°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#8B9820
RGBrgb(139, 152, 32)
HSLhsl(67, 65%, 36%)
HSVhsv(67, 79%, 60%)
CMYKcmyk(8.6%, 0%, 78.9%, 40.4%)
CIE-LABlab(59.93, -19.67, 56.48)
CIE-LCHlch(59.93, 59.81, 109.20°)
OKLaboklab(64.79% -0.06 0.1235)
OKLCHoklch(64.79% 0.137 115.9)
XYZxyz(22.1370, 28.0501, 5.6143)
Luminance0.2805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9820 #2D2098
analogous
#986920 #8B9820 #4F9820
triadic
#8B9820 #208B98 #98208B
tetradic
#8B9820 #209869 #2D2098 #98204F
square
#8B9820 #209869 #2D2098 #98204F
split-complementary
#8B9820 #204F98 #692098
monochromatic
#2F330B #5D6515 #8B9820 #B9CB2B #CDDC57

Accessibility & contrast

On white

3.18
#8B9820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#8B9820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9820
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9820#FFFFFF#000000##000000
##8B98201.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#A2912B
Tritanopia (blue-blind)
#948F82
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8b9820;
/* rgb */ color: rgb(139, 152, 32);
/* oklch */ color: oklch(64.8% 0.137 115.9);
Tailwind
colors: {
  custom: {
    50: '#b0b667',
    500: '#8b9820',
    950: '#000000',
  },
}
SCSS
$custom: #8b9820;
$custom-light: #b0b667;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9820",
  "rgb": {
    "r": 139,
    "g": 152,
    "b": 32
  },
  "hsl": {
    "h": 66.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.64788,
    "c": 0.13733,
    "h": 115.9
  },
  "luminance": 0.2805
}

Semantic roles & 50–950 ramp

primary
#8B9820
secondary
#6054BF
accent
#40E852
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8B9820

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

Preview Lab → · Contrast checker → · Palette generator →

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