#8A9920#8A9920

#8A9920 is a light, vivid yellow. Relative luminance 0.283; OKLCH L 64.9% C 0.139 H 116.8°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#8A9920
RGBrgb(138, 153, 32)
HSLhsl(67, 65%, 36%)
HSVhsv(67, 79%, 60%)
CMYKcmyk(9.8%, 0%, 79.1%, 40%)
CIE-LABlab(60.15, -20.62, 56.65)
CIE-LCHlch(60.15, 60.28, 110.00°)
OKLaboklab(64.94% -0.0626 0.1239)
OKLCHoklch(64.94% 0.139 116.8)
XYZxyz(22.1338, 28.2903, 5.6608)
Luminance0.2829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9920 #2F2099
analogous
#996C20 #8A9920 #4E9920
triadic
#8A9920 #208A99 #99208A
tetradic
#8A9920 #20996C #2F2099 #99204E
square
#8A9920 #20996C #2F2099 #99204E
split-complementary
#8A9920 #204E99 #6C2099
monochromatic
#2F340B #5C6615 #8A9920 #B8CC2B #CCDC57

Accessibility & contrast

On white

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

On black

6.66
#8A9920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9920
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9920#FFFFFF#000000##000000
##8A99201.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#A3922B
Tritanopia (blue-blind)
#939083
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a9920;
/* rgb */ color: rgb(138, 153, 32);
/* oklch */ color: oklch(64.9% 0.139 116.8);
Tailwind
colors: {
  custom: {
    50: '#b0b667',
    500: '#8a9920',
    950: '#000000',
  },
}
SCSS
$custom: #8a9920;
$custom-light: #b0b667;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9920",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 32
  },
  "hsl": {
    "h": 67.438,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64942,
    "c": 0.13881,
    "h": 116.8
  },
  "luminance": 0.2829
}

Semantic roles & 50–950 ramp

primary
#8A9920
secondary
#6255C0
accent
#3FE854
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A9920

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

Preview Lab → · Contrast checker → · Palette generator →

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