#87CF40#87CF40

#87CF40 is a light, vivid yellow-green. Relative luminance 0.501; OKLCH L 77.9% C 0.187 H 132.5°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#87CF40
RGBrgb(135, 207, 64)
HSLhsl(90, 60%, 53%)
HSVhsv(90, 69%, 81%)
CMYKcmyk(34.8%, 0%, 69.1%, 18.8%)
CIE-LABlab(76.16, -45.00, 60.98)
CIE-LCHlch(76.16, 75.78, 126.43°)
OKLaboklab(77.93% -0.1265 0.1381)
OKLCHoklch(77.93% 0.187 132.5)
XYZxyz(33.2295, 50.1454, 12.7777)
Luminance0.5015 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87CF40 #8840CF
analogous
#CECF40 #87CF40 #40CF40
triadic
#87CF40 #4087CF #CF4087
tetradic
#87CF40 #40CECF #8840CF #CF4040
square
#87CF40 #40CECF #8840CF #CF4040
split-complementary
#87CF40 #4040CF #CF40CE
monochromatic
#4A771E #68A82A #87CF40 #A6DB71 #C4E8A2

Accessibility & contrast

On white

1.90
#87CF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#87CF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87CF40
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87CF40#FFFFFF#000000##000000
##87CF401.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF2A
Deuteranopia (green-blind)
#CEBA4D
Tritanopia (blue-blind)
#88C7B3
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #87cf40;
/* rgb */ color: rgb(135, 207, 64);
/* oklch */ color: oklch(77.9% 0.187 132.5);
Tailwind
colors: {
  custom: {
    50: '#afde7d',
    500: '#87cf40',
    950: '#000000',
  },
}
SCSS
$custom: #87cf40;
$custom-light: #afde7d;
$custom-dark: #000000;
JSON
{
  "hex": "#87cf40",
  "rgb": {
    "r": 135,
    "g": 207,
    "b": 64
  },
  "hsl": {
    "h": 90.21,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.77929,
    "c": 0.18732,
    "h": 132.5
  },
  "luminance": 0.50147
}

Semantic roles & 50–950 ramp

primary
#87CF40
secondary
#5A347F
accent
#45E394
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#11150A
muted
#81847D

Preview Lab

Preview with #87CF40

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

Preview Lab → · Contrast checker → · Palette generator →

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