#87A221#87A221

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

Color values

HEX#87A221
RGBrgb(135, 162, 33)
HSLhsl(73, 66%, 38%)
HSVhsv(73, 80%, 64%)
CMYKcmyk(16.7%, 0%, 79.6%, 36.5%)
CIE-LABlab(62.59, -26.34, 58.48)
CIE-LCHlch(62.59, 64.14, 114.25°)
OKLaboklab(66.86% -0.078 0.1281)
OKLCHoklch(66.86% 0.15 121.4)
XYZxyz(23.1869, 31.1014, 6.2202)
Luminance0.3110 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A221 #3C21A2
analogous
#A27C21 #87A221 #46A221
triadic
#87A221 #2187A2 #A22187
tetradic
#87A221 #21A27C #3C21A2 #A22146
square
#87A221 #21A27C #3C21A2 #A22146
split-complementary
#87A221 #2146A2 #7C21A2
monochromatic
#323C0C #5D6F17 #87A221 #B1D42C #C4DE5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87A221#FFFFFF#000000##000000
##87A2211.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)
#A9972E
Tritanopia (blue-blind)
#8F998A
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #87a221;
/* rgb */ color: rgb(135, 162, 33);
/* oklch */ color: oklch(66.9% 0.150 121.4);
Tailwind
colors: {
  custom: {
    50: '#aebd68',
    500: '#87a221',
    950: '#000000',
  },
}
SCSS
$custom: #87a221;
$custom-light: #aebd68;
$custom-dark: #000000;
JSON
{
  "hex": "#87a221",
  "rgb": {
    "r": 135,
    "g": 162,
    "b": 33
  },
  "hsl": {
    "h": 72.558,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.66856,
    "c": 0.14998,
    "h": 121.4
  },
  "luminance": 0.31101
}

Semantic roles & 50–950 ramp

primary
#87A221
secondary
#715CC3
accent
#3FE962
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #87A221

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

Preview Lab → · Contrast checker → · Palette generator →

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