#87CC40#87CC40

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

Color values

HEX#87CC40
RGBrgb(135, 204, 64)
HSLhsl(90, 58%, 53%)
HSVhsv(90, 69%, 80%)
CMYKcmyk(33.8%, 0%, 68.6%, 20%)
CIE-LABlab(75.27, -43.72, 60.06)
CIE-LCHlch(75.27, 74.29, 126.06°)
OKLaboklab(77.2% -0.1231 0.1362)
OKLCHoklch(77.2% 0.184 132.1)
XYZxyz(32.5096, 48.7055, 12.5377)
Luminance0.4871 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87CC40 #8540CC
analogous
#CCCB40 #87CC40 #41CC40
triadic
#87CC40 #4087CC #CC4087
tetradic
#87CC40 #40CCCB #8540CC #CC4041
square
#87CC40 #40CCCB #8540CC #CC4041
split-complementary
#87CC40 #4041CC #CB40CC
monochromatic
#49731F #68A32C #87CC40 #A5D970 #C4E6A1

Accessibility & contrast

On white

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

On black

10.74
#87CC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87CC40
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87CC40#FFFFFF#000000##000000
##87CC401.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87cc40;
/* rgb */ color: rgb(135, 204, 64);
/* oklch */ color: oklch(77.2% 0.184 132.1);
Tailwind
colors: {
  custom: {
    50: '#afdc7c',
    500: '#87cc40',
    950: '#000000',
  },
}
SCSS
$custom: #87cc40;
$custom-light: #afdc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#87cc40",
  "rgb": {
    "r": 135,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 89.571,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.77203,
    "c": 0.18356,
    "h": 132.1
  },
  "luminance": 0.48707
}

Semantic roles & 50–950 ramp

primary
#87CC40
secondary
#B395D2
accent
#47E193
background
#FBFDF7
surface
#F6FBEE
border
#D0D4C9
text
#11150A
muted
#80837C

Preview Lab

Preview with #87CC40

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

Preview Lab → · Contrast checker → · Palette generator →

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