#87D542#87D542

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

Color values

HEX#87D542
RGBrgb(135, 213, 66)
HSLhsl(92, 64%, 55%)
HSVhsv(92, 69%, 84%)
CMYKcmyk(36.6%, 0%, 69%, 16.5%)
CIE-LABlab(77.95, -47.38, 62.07)
CIE-LCHlch(77.95, 78.08, 127.35°)
OKLaboklab(79.4% -0.1328 0.1407)
OKLCHoklch(79.4% 0.194 133.4)
XYZxyz(34.7687, 53.1312, 13.5766)
Luminance0.5313 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87D542 #9042D5
analogous
#D0D542 #87D542 #42D547
triadic
#87D542 #4287D5 #D54287
tetradic
#87D542 #42D0D5 #9042D5 #D54742
square
#87D542 #42D0D5 #9042D5 #D54742
split-complementary
#87D542 #4742D5 #D542D0
monochromatic
#4B801C #69B228 #87D542 #A7E074 #C7EBA6

Accessibility & contrast

On white

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

On black

11.63
#87D542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87D542
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87D542#FFFFFF#000000##000000
##87D5421.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87d542;
/* rgb */ color: rgb(135, 213, 66);
/* oklch */ color: oklch(79.4% 0.194 133.4);
Tailwind
colors: {
  custom: {
    50: '#afe27e',
    500: '#87d542',
    950: '#000000',
  },
}
SCSS
$custom: #87d542;
$custom-light: #afe27e;
$custom-dark: #000000;
JSON
{
  "hex": "#87d542",
  "rgb": {
    "r": 135,
    "g": 213,
    "b": 66
  },
  "hsl": {
    "h": 91.837,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.79398,
    "c": 0.1935,
    "h": 133.4
  },
  "luminance": 0.53133
}

Semantic roles & 50–950 ramp

primary
#87D542
secondary
#603487
accent
#41E799
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#11150A
muted
#81847D

Preview Lab

Preview with #87D542

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

Preview Lab → · Contrast checker → · Palette generator →

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