#87D240#87D240

#87D240 is a light, vivid yellow-green. Relative luminance 0.516; OKLCH L 78.7% C 0.191 H 132.9°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#87D240
RGBrgb(135, 210, 64)
HSLhsl(91, 62%, 54%)
HSVhsv(91, 70%, 82%)
CMYKcmyk(35.7%, 0%, 69.5%, 17.6%)
CIE-LABlab(77.05, -46.26, 61.89)
CIE-LCHlch(77.05, 77.27, 126.78°)
OKLaboklab(78.66% -0.13 0.14)
OKLCHoklch(78.66% 0.191 132.9)
XYZxyz(33.9632, 51.6128, 13.0223)
Luminance0.5161 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87D240 #8B40D2
analogous
#D0D240 #87D240 #40D242
triadic
#87D240 #4087D2 #D24087
tetradic
#87D240 #40D0D2 #8B40D2 #D24240
square
#87D240 #40D0D2 #8B40D2 #D24240
split-complementary
#87D240 #4240D2 #D240D0
monochromatic
#4B7B1D #69AC29 #87D240 #A6DE72 #C5E9A3

Accessibility & contrast

On white

1.85
#87D240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#87D240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87D240
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87D240#FFFFFF#000000##000000
##87D2401.001.8511.3211.32
#FFFFFF1.851.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC229
Deuteranopia (green-blind)
#D0BC4D
Tritanopia (blue-blind)
#88CAB5
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #87d240;
/* rgb */ color: rgb(135, 210, 64);
/* oklch */ color: oklch(78.7% 0.191 132.9);
Tailwind
colors: {
  custom: {
    50: '#afe07d',
    500: '#87d240',
    950: '#000000',
  },
}
SCSS
$custom: #87d240;
$custom-light: #afe07d;
$custom-dark: #000000;
JSON
{
  "hex": "#87d240",
  "rgb": {
    "r": 135,
    "g": 210,
    "b": 64
  },
  "hsl": {
    "h": 90.822,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.78656,
    "c": 0.19106,
    "h": 132.9
  },
  "luminance": 0.51614
}

Semantic roles & 50–950 ramp

primary
#87D240
secondary
#5C3483
accent
#43E596
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#11150A
muted
#81847D

Preview Lab

Preview with #87D240

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

Preview Lab → · Contrast checker → · Palette generator →

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