#8A9C20#8A9C20

#8A9C20 is a light, vivid yellow. Relative luminance 0.293; OKLCH L 65.7% C 0.142 H 118.0°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8A9C20
RGBrgb(138, 156, 32)
HSLhsl(69, 66%, 37%)
HSVhsv(69, 79%, 61%)
CMYKcmyk(11.5%, 0%, 79.5%, 38.8%)
CIE-LABlab(61.03, -22.13, 57.45)
CIE-LCHlch(61.03, 61.56, 111.07°)
OKLaboklab(65.65% -0.0667 0.1256)
OKLCHoklch(65.65% 0.142 118)
XYZxyz(22.6310, 29.2847, 5.8265)
Luminance0.2928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9C20 #32209C
analogous
#9C7020 #8A9C20 #4C9C20
triadic
#8A9C20 #208A9C #9C208A
tetradic
#8A9C20 #209C70 #32209C #9C204C
square
#8A9C20 #209C70 #32209C #9C204C
split-complementary
#8A9C20 #204C9C #70209C
monochromatic
#30360B #5D6916 #8A9C20 #B7CF2A #CADD59

Accessibility & contrast

On white

3.06
#8A9C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#8A9C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9C20
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9C20#FFFFFF#000000##000000
##8A9C201.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A5942C
Tritanopia (blue-blind)
#939385
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a9c20;
/* rgb */ color: rgb(138, 156, 32);
/* oklch */ color: oklch(65.7% 0.142 118.0);
Tailwind
colors: {
  custom: {
    50: '#b0b967',
    500: '#8a9c20',
    950: '#000000',
  },
}
SCSS
$custom: #8a9c20;
$custom-light: #b0b967;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9c20",
  "rgb": {
    "r": 138,
    "g": 156,
    "b": 32
  },
  "hsl": {
    "h": 68.71,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.65652,
    "c": 0.14224,
    "h": 118
  },
  "luminance": 0.29284
}

Semantic roles & 50–950 ramp

primary
#8A9C20
secondary
#6657C1
accent
#3FE958
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9C20

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

Preview Lab → · Contrast checker → · Palette generator →

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