#87A420#87A420

#87A420 is a light, vivid yellow-green. Relative luminance 0.318; OKLCH L 67.3% C 0.153 H 122.0°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#87A420
RGBrgb(135, 164, 32)
HSLhsl(73, 67%, 38%)
HSVhsv(73, 80%, 64%)
CMYKcmyk(17.7%, 0%, 80.5%, 35.7%)
CIE-LABlab(63.18, -27.36, 59.31)
CIE-LCHlch(63.18, 65.31, 114.76°)
OKLaboklab(67.33% -0.0809 0.1297)
OKLCHoklch(67.33% 0.153 122)
XYZxyz(23.5282, 31.8061, 6.2659)
Luminance0.3181 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A420 #3D20A4
analogous
#A47F20 #87A420 #45A420
triadic
#87A420 #2087A4 #A42087
tetradic
#87A420 #20A47F #3D20A4 #A42045
square
#87A420 #20A47F #3D20A4 #A42045
split-complementary
#87A420 #2045A4 #7F20A4
monochromatic
#333E0C #5D7116 #87A420 #B0D62B #C3E05F

Accessibility & contrast

On white

2.85
#87A420 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#87A420 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A420
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A420#FFFFFF#000000##000000
##87A4201.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A00
Deuteranopia (green-blind)
#AB992E
Tritanopia (blue-blind)
#8F9B8C
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #87a420;
/* rgb */ color: rgb(135, 164, 32);
/* oklch */ color: oklch(67.3% 0.153 122.0);
Tailwind
colors: {
  custom: {
    50: '#aebf68',
    500: '#87a420',
    950: '#000000',
  },
}
SCSS
$custom: #87a420;
$custom-light: #aebf68;
$custom-dark: #000000;
JSON
{
  "hex": "#87a420",
  "rgb": {
    "r": 135,
    "g": 164,
    "b": 32
  },
  "hsl": {
    "h": 73.182,
    "s": 67.347,
    "l": 38.431
  },
  "oklch": {
    "l": 0.67331,
    "c": 0.15282,
    "h": 122
  },
  "luminance": 0.31806
}

Semantic roles & 50–950 ramp

primary
#87A420
secondary
#735CC4
accent
#3EEA64
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #87A420

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

Preview Lab → · Contrast checker → · Palette generator →

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