#8AA520#8AA520

#8AA520 is a light, vivid yellow-green. Relative luminance 0.324; OKLCH L 67.8% C 0.153 H 121.1°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#8AA520
RGBrgb(138, 165, 32)
HSLhsl(72, 68%, 39%)
HSVhsv(72, 81%, 65%)
CMYKcmyk(16.4%, 0%, 80.6%, 35.3%)
CIE-LABlab(63.69, -26.58, 59.84)
CIE-LCHlch(63.69, 65.48, 113.95°)
OKLaboklab(67.79% -0.0789 0.1307)
OKLCHoklch(67.79% 0.153 121.1)
XYZxyz(24.1975, 32.4178, 6.3487)
Luminance0.3242 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA520 #3B20A5
analogous
#A57D20 #8AA520 #48A520
triadic
#8AA520 #208AA5 #A5208A
tetradic
#8AA520 #20A57D #3B20A5 #A52048
square
#8AA520 #20A57D #3B20A5 #A52048
split-complementary
#8AA520 #2048A5 #7D20A5
monochromatic
#343E0C #5F7216 #8AA520 #B4D62C #C6E05F

Accessibility & contrast

On white

2.81
#8AA520 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#8AA520 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA520
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA520#FFFFFF#000000##000000
##8AA5201.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#AC9A2E
Tritanopia (blue-blind)
#929C8D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8aa520;
/* rgb */ color: rgb(138, 165, 32);
/* oklch */ color: oklch(67.8% 0.153 121.1);
Tailwind
colors: {
  custom: {
    50: '#b0bf68',
    500: '#8aa520',
    950: '#000000',
  },
}
SCSS
$custom: #8aa520;
$custom-light: #b0bf68;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa520",
  "rgb": {
    "r": 138,
    "g": 165,
    "b": 32
  },
  "hsl": {
    "h": 72.18,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.67791,
    "c": 0.15268,
    "h": 121.1
  },
  "luminance": 0.32418
}

Semantic roles & 50–950 ramp

primary
#8AA520
secondary
#715CC5
accent
#3DEA61
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8AA520

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

Preview Lab → · Contrast checker → · Palette generator →

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