#87CA40#87CA40

#87CA40 is a light, vivid yellow-green. Relative luminance 0.478; OKLCH L 76.7% C 0.181 H 131.8°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#87CA40
RGBrgb(135, 202, 64)
HSLhsl(89, 57%, 52%)
HSVhsv(89, 68%, 79%)
CMYKcmyk(33.2%, 0%, 68.3%, 20.8%)
CIE-LABlab(74.67, -42.87, 59.44)
CIE-LCHlch(74.67, 73.29, 125.80°)
OKLaboklab(76.72% -0.1207 0.1349)
OKLCHoklch(76.72% 0.181 131.8)
XYZxyz(32.0373, 47.7609, 12.3803)
Luminance0.4776 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87CA40 #8340CA
analogous
#CAC840 #87CA40 #42CA40
triadic
#87CA40 #4087CA #CA4087
tetradic
#87CA40 #40CAC8 #8340CA #CA4042
square
#87CA40 #40CAC8 #8340CA #CA4042
split-complementary
#87CA40 #4042CA #C840CA
monochromatic
#49701F #68A02C #87CA40 #A5D770 #C3E5A0

Accessibility & contrast

On white

1.99
#87CA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#87CA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87CA40
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87CA40#FFFFFF#000000##000000
##87CA401.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB2B
Deuteranopia (green-blind)
#C9B64C
Tritanopia (blue-blind)
#89C2AE
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #87ca40;
/* rgb */ color: rgb(135, 202, 64);
/* oklch */ color: oklch(76.7% 0.181 131.8);
Tailwind
colors: {
  custom: {
    50: '#aeda7c',
    500: '#87ca40',
    950: '#000000',
  },
}
SCSS
$custom: #87ca40;
$custom-light: #aeda7c;
$custom-dark: #000000;
JSON
{
  "hex": "#87ca40",
  "rgb": {
    "r": 135,
    "g": 202,
    "b": 64
  },
  "hsl": {
    "h": 89.13,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.76719,
    "c": 0.18104,
    "h": 131.8
  },
  "luminance": 0.47762
}

Semantic roles & 50–950 ramp

primary
#87CA40
secondary
#B295D1
accent
#48E092
background
#FBFDF7
surface
#F6FBEE
border
#D0D4C9
text
#11150A
muted
#80837C

Preview Lab

Preview with #87CA40

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

Preview Lab → · Contrast checker → · Palette generator →

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