#87D940#87D940

#87D940 is a light, vivid yellow-green. Relative luminance 0.551; OKLCH L 80.4% C 0.200 H 133.7°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#87D940
RGBrgb(135, 217, 64)
HSLhsl(92, 67%, 55%)
HSVhsv(92, 71%, 85%)
CMYKcmyk(37.8%, 0%, 70.5%, 14.9%)
CIE-LABlab(79.12, -49.17, 64.01)
CIE-LCHlch(79.12, 80.71, 127.53°)
OKLaboklab(80.35% -0.1378 0.1445)
OKLCHoklch(80.35% 0.2 133.7)
XYZxyz(35.7293, 55.1451, 13.6110)
Luminance0.5515 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87D940 #9240D9
analogous
#D3D940 #87D940 #40D946
triadic
#87D940 #4087D9 #D94087
tetradic
#87D940 #40D3D9 #9240D9 #D94640
square
#87D940 #40D3D9 #9240D9 #D94640
split-complementary
#87D940 #4640D9 #D940D3
monochromatic
#4B841A #69B724 #87D940 #A7E373 #C7EDA6

Accessibility & contrast

On white

1.75
#87D940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#87D940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87D940
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87D940#FFFFFF#000000##000000
##87D9401.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C826
Deuteranopia (green-blind)
#D6C24E
Tritanopia (blue-blind)
#87D1BB
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #87d940;
/* rgb */ color: rgb(135, 217, 64);
/* oklch */ color: oklch(80.4% 0.200 133.7);
Tailwind
colors: {
  custom: {
    50: '#b0e57e',
    500: '#87d940',
    950: '#000000',
  },
}
SCSS
$custom: #87d940;
$custom-light: #b0e57e;
$custom-dark: #000000;
JSON
{
  "hex": "#87d940",
  "rgb": {
    "r": 135,
    "g": 217,
    "b": 64
  },
  "hsl": {
    "h": 92.157,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.80352,
    "c": 0.19969,
    "h": 133.7
  },
  "luminance": 0.55147
}

Semantic roles & 50–950 ramp

primary
#87D940
secondary
#62328B
accent
#3EEA9A
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#11160A
muted
#81847D

Preview Lab

Preview with #87D940

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

Preview Lab → · Contrast checker → · Palette generator →

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