#87A220#87A220

#87A220 is a light, vivid yellow-green. Relative luminance 0.311; OKLCH L 66.9% C 0.150 H 121.3°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#87A220
RGBrgb(135, 162, 32)
HSLhsl(72, 67%, 38%)
HSVhsv(72, 80%, 64%)
CMYKcmyk(16.7%, 0%, 80.2%, 36.5%)
CIE-LABlab(62.59, -26.39, 58.77)
CIE-LCHlch(62.59, 64.42, 114.18°)
OKLaboklab(66.85% -0.0782 0.1285)
OKLCHoklch(66.85% 0.15 121.3)
XYZxyz(23.1731, 31.0958, 6.1475)
Luminance0.3110 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A220 #3B20A2
analogous
#A27C20 #87A220 #46A220
triadic
#87A220 #2087A2 #A22087
tetradic
#87A220 #20A27C #3B20A2 #A22046
square
#87A220 #20A27C #3B20A2 #A22046
split-complementary
#87A220 #2046A2 #7C20A2
monochromatic
#323C0C #5C6F16 #87A220 #B2D52A #C4DF5D

Accessibility & contrast

On white

2.91
#87A220 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#87A220 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A220
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A220#FFFFFF#000000##000000
##87A2201.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#A9972D
Tritanopia (blue-blind)
#8F998A
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #87a220;
/* rgb */ color: rgb(135, 162, 32);
/* oklch */ color: oklch(66.9% 0.150 121.3);
Tailwind
colors: {
  custom: {
    50: '#aebd68',
    500: '#87a220',
    950: '#000000',
  },
}
SCSS
$custom: #87a220;
$custom-light: #aebd68;
$custom-dark: #000000;
JSON
{
  "hex": "#87a220",
  "rgb": {
    "r": 135,
    "g": 162,
    "b": 32
  },
  "hsl": {
    "h": 72.462,
    "s": 67.01,
    "l": 38.039
  },
  "oklch": {
    "l": 0.66851,
    "c": 0.15047,
    "h": 121.3
  },
  "luminance": 0.31096
}

Semantic roles & 50–950 ramp

primary
#87A220
secondary
#705AC3
accent
#3EEA62
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #87A220

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

Preview Lab → · Contrast checker → · Palette generator →

#87A220 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva