#8A9820#8A9820

#8A9820 is a light, vivid yellow. Relative luminance 0.280; OKLCH L 64.7% C 0.138 H 116.4°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#8A9820
RGBrgb(138, 152, 32)
HSLhsl(67, 65%, 36%)
HSVhsv(67, 79%, 60%)
CMYKcmyk(9.2%, 0%, 78.9%, 40.4%)
CIE-LABlab(59.86, -20.11, 56.38)
CIE-LCHlch(59.86, 59.86, 109.63°)
OKLaboklab(64.71% -0.0612 0.1233)
OKLCHoklch(64.71% 0.138 116.4)
XYZxyz(21.9708, 27.9643, 5.6065)
Luminance0.2796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9820 #2E2098
analogous
#986A20 #8A9820 #4E9820
triadic
#8A9820 #208A98 #98208A
tetradic
#8A9820 #20986A #2E2098 #98204E
square
#8A9820 #20986A #2E2098 #98204E
split-complementary
#8A9820 #204E98 #6A2098
monochromatic
#2E330B #5C6515 #8A9820 #B8CB2B #CCDC57

Accessibility & contrast

On white

3.19
#8A9820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#8A9820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9820
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9820#FFFFFF#000000##000000
##8A98201.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a9820;
/* rgb */ color: rgb(138, 152, 32);
/* oklch */ color: oklch(64.7% 0.138 116.4);
Tailwind
colors: {
  custom: {
    50: '#b0b667',
    500: '#8a9820',
    950: '#000000',
  },
}
SCSS
$custom: #8a9820;
$custom-light: #b0b667;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9820",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 32
  },
  "hsl": {
    "h": 67,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.64706,
    "c": 0.13768,
    "h": 116.4
  },
  "luminance": 0.27964
}

Semantic roles & 50–950 ramp

primary
#8A9820
secondary
#6154BF
accent
#40E853
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A9820

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

Preview Lab → · Contrast checker → · Palette generator →

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