#87D540#87D540

#87D540 is a light, vivid yellow-green. Relative luminance 0.531; OKLCH L 79.4% C 0.195 H 133.2°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#87D540
RGBrgb(135, 213, 64)
HSLhsl(91, 64%, 54%)
HSVhsv(91, 70%, 84%)
CMYKcmyk(36.6%, 0%, 70%, 16.5%)
CIE-LABlab(77.94, -47.52, 62.80)
CIE-LCHlch(77.94, 78.75, 127.11°)
OKLaboklab(79.38% -0.1334 0.142)
OKLCHoklch(79.38% 0.195 133.2)
XYZxyz(34.7108, 53.1080, 13.2715)
Luminance0.5311 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87D540 #8E40D5
analogous
#D2D540 #87D540 #40D544
triadic
#87D540 #4087D5 #D54087
tetradic
#87D540 #40D2D5 #8E40D5 #D54440
square
#87D540 #40D2D5 #8E40D5 #D54440
split-complementary
#87D540 #4440D5 #D540D2
monochromatic
#4B7F1C #69B127 #87D540 #A7E072 #C6EBA4

Accessibility & contrast

On white

1.81
#87D540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#87D540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87D540
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87D540#FFFFFF#000000##000000
##87D5401.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC528
Deuteranopia (green-blind)
#D3BE4E
Tritanopia (blue-blind)
#87CDB8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #87d540;
/* rgb */ color: rgb(135, 213, 64);
/* oklch */ color: oklch(79.4% 0.195 133.2);
Tailwind
colors: {
  custom: {
    50: '#afe27d',
    500: '#87d540',
    950: '#000000',
  },
}
SCSS
$custom: #87d540;
$custom-light: #afe27d;
$custom-dark: #000000;
JSON
{
  "hex": "#87d540",
  "rgb": {
    "r": 135,
    "g": 213,
    "b": 64
  },
  "hsl": {
    "h": 91.409,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.79382,
    "c": 0.19478,
    "h": 133.2
  },
  "luminance": 0.5311
}

Semantic roles & 50–950 ramp

primary
#87D540
secondary
#5F3386
accent
#41E798
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#11150A
muted
#81847D

Preview Lab

Preview with #87D540

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

Preview Lab → · Contrast checker → · Palette generator →

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