#87CC42#87CC42

#87CC42 is a light, vivid yellow-green. Relative luminance 0.487; OKLCH L 77.2% C 0.182 H 132.2°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#87CC42
RGBrgb(135, 204, 66)
HSLhsl(90, 58%, 53%)
HSVhsv(90, 68%, 80%)
CMYKcmyk(33.8%, 0%, 67.6%, 20%)
CIE-LABlab(75.28, -43.58, 59.30)
CIE-LCHlch(75.28, 73.59, 126.31°)
OKLaboklab(77.22% -0.1225 0.1349)
OKLCHoklch(77.22% 0.182 132.2)
XYZxyz(32.5675, 48.7287, 12.8428)
Luminance0.4873 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87CC42 #8742CC
analogous
#CCCC42 #87CC42 #42CC42
triadic
#87CC42 #4287CC #CC4287
tetradic
#87CC42 #42CCCC #8742CC #CC4242
square
#87CC42 #42CCCC #8742CC #CC4242
split-complementary
#87CC42 #4242CC #CC42CC
monochromatic
#4A741F #68A42C #87CC42 #A6D972 #C4E6A2

Accessibility & contrast

On white

1.95
#87CC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.75
#87CC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87CC42
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87CC42#FFFFFF#000000##000000
##87CC421.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD2E
Deuteranopia (green-blind)
#CBB84E
Tritanopia (blue-blind)
#88C4B0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #87cc42;
/* rgb */ color: rgb(135, 204, 66);
/* oklch */ color: oklch(77.2% 0.182 132.2);
Tailwind
colors: {
  custom: {
    50: '#afdc7d',
    500: '#87cc42',
    950: '#000000',
  },
}
SCSS
$custom: #87cc42;
$custom-light: #afdc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#87cc42",
  "rgb": {
    "r": 135,
    "g": 204,
    "b": 66
  },
  "hsl": {
    "h": 90,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.77219,
    "c": 0.18221,
    "h": 132.2
  },
  "luminance": 0.4873
}

Semantic roles & 50–950 ramp

primary
#87CC42
secondary
#B597D3
accent
#47E194
background
#FBFDF7
surface
#F6FBEE
border
#D0D4C9
text
#11150A
muted
#80837C

Preview Lab

Preview with #87CC42

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

Preview Lab → · Contrast checker → · Palette generator →

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