#87D040#87D040

#87D040 is a light, vivid yellow-green. Relative luminance 0.506; OKLCH L 78.2% C 0.189 H 132.6°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#87D040
RGBrgb(135, 208, 64)
HSLhsl(90, 61%, 53%)
HSVhsv(90, 69%, 82%)
CMYKcmyk(35.1%, 0%, 69.2%, 18.4%)
CIE-LABlab(76.46, -45.42, 61.28)
CIE-LCHlch(76.46, 76.28, 126.55°)
OKLaboklab(78.17% -0.1277 0.1388)
OKLCHoklch(78.17% 0.189 132.6)
XYZxyz(33.4725, 50.6314, 12.8587)
Luminance0.5063 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87D040 #8940D0
analogous
#CFD040 #87D040 #40D041
triadic
#87D040 #4087D0 #D04087
tetradic
#87D040 #40CFD0 #8940D0 #D04140
square
#87D040 #40CFD0 #8940D0 #D04140
split-complementary
#87D040 #4140D0 #D040CF
monochromatic
#4A781E #69A92A #87D040 #A6DC71 #C5E8A2

Accessibility & contrast

On white

1.89
#87D040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.13
#87D040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87D040
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87D040#FFFFFF#000000##000000
##87D0401.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C029
Deuteranopia (green-blind)
#CEBB4D
Tritanopia (blue-blind)
#88C8B3
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #87d040;
/* rgb */ color: rgb(135, 208, 64);
/* oklch */ color: oklch(78.2% 0.189 132.6);
Tailwind
colors: {
  custom: {
    50: '#afdf7d',
    500: '#87d040',
    950: '#000000',
  },
}
SCSS
$custom: #87d040;
$custom-light: #afdf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#87d040",
  "rgb": {
    "r": 135,
    "g": 208,
    "b": 64
  },
  "hsl": {
    "h": 90.417,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.78171,
    "c": 0.18857,
    "h": 132.6
  },
  "luminance": 0.50633
}

Semantic roles & 50–950 ramp

primary
#87D040
secondary
#5B3480
accent
#44E495
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#11150A
muted
#81847D

Preview Lab

Preview with #87D040

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

Preview Lab → · Contrast checker → · Palette generator →

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