#87CC3A#87CC3A

#87CC3A is a light, vivid yellow-green. Relative luminance 0.486; OKLCH L 77.2% C 0.187 H 131.7°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#87CC3A
RGBrgb(135, 204, 58)
HSLhsl(88, 59%, 51%)
HSVhsv(88, 72%, 80%)
CMYKcmyk(33.8%, 0%, 71.6%, 20%)
CIE-LABlab(75.23, -44.13, 62.24)
CIE-LCHlch(75.23, 76.30, 125.34°)
OKLaboklab(77.16% -0.1246 0.1399)
OKLCHoklch(77.16% 0.187 131.7)
XYZxyz(32.3479, 48.6409, 11.6864)
Luminance0.4864 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87CC3A #7F3ACC
analogous
#CCC83A #87CC3A #3ECC3A
triadic
#87CC3A #3A87CC #CC3A87
tetradic
#87CC3A #3ACCC8 #7F3ACC #CC3A3E
square
#87CC3A #3ACCC8 #7F3ACC #CC3A3E
split-complementary
#87CC3A #3A3ECC #C83ACC
monochromatic
#486F1D #68A029 #87CC3A #A5D96B #C2E59B

Accessibility & contrast

On white

1.96
#87CC3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#87CC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87CC3A
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87CC3A#FFFFFF#000000##000000
##87CC3A1.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD20
Deuteranopia (green-blind)
#CBB748
Tritanopia (blue-blind)
#89C4B0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #87cc3a;
/* rgb */ color: rgb(135, 204, 58);
/* oklch */ color: oklch(77.2% 0.187 131.7);
Tailwind
colors: {
  custom: {
    50: '#afdc79',
    500: '#87cc3a',
    950: '#000000',
  },
}
SCSS
$custom: #87cc3a;
$custom-light: #afdc79;
$custom-dark: #000000;
JSON
{
  "hex": "#87cc3a",
  "rgb": {
    "r": 135,
    "g": 204,
    "b": 58
  },
  "hsl": {
    "h": 88.356,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.77157,
    "c": 0.18739,
    "h": 131.7
  },
  "luminance": 0.48642
}

Semantic roles & 50–950 ramp

primary
#87CC3A
secondary
#AF91D1
accent
#46E290
background
#FBFDF7
surface
#F6FBEE
border
#D0D4C9
text
#11150A
muted
#80837C

Preview Lab

Preview with #87CC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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