#87D951#87D951

#87D951 is a light, vivid yellow-green. Relative luminance 0.554; OKLCH L 80.5% C 0.188 H 135.0°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#87D951
RGBrgb(135, 217, 81)
HSLhsl(96, 64%, 58%)
HSVhsv(96, 63%, 85%)
CMYKcmyk(37.8%, 0%, 62.7%, 14.9%)
CIE-LABlab(79.25, -47.85, 57.48)
CIE-LCHlch(79.25, 74.78, 129.78°)
OKLaboklab(80.5% -0.133 0.1329)
OKLCHoklch(80.5% 0.188 135)
XYZxyz(36.2889, 55.3689, 16.5582)
Luminance0.5537 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87D951 #A351D9
analogous
#CBD951 #87D951 #51D95F
triadic
#87D951 #5187D9 #D95187
tetradic
#87D951 #51CBD9 #A351D9 #D95F51
square
#87D951 #51CBD9 #A351D9 #D95F51
split-complementary
#87D951 #5F51D9 #D951CB
monochromatic
#4C901F #67C22A #87D951 #AAE483 #CCEFB5

Accessibility & contrast

On white

1.74
#87D951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.07
#87D951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87D951
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87D951#FFFFFF#000000##000000
##87D9511.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C941
Deuteranopia (green-blind)
#D5C25C
Tritanopia (blue-blind)
#85D1BC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #87d951;
/* rgb */ color: rgb(135, 217, 81);
/* oklch */ color: oklch(80.5% 0.188 135.0);
Tailwind
colors: {
  custom: {
    50: '#afe587',
    500: '#87d951',
    950: '#000000',
  },
}
SCSS
$custom: #87d951;
$custom-light: #afe587;
$custom-dark: #000000;
JSON
{
  "hex": "#87d951",
  "rgb": {
    "r": 135,
    "g": 217,
    "b": 81
  },
  "hsl": {
    "h": 96.176,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80498,
    "c": 0.188,
    "h": 135
  },
  "luminance": 0.55371
}

Semantic roles & 50–950 ramp

primary
#87D951
secondary
#713995
accent
#41E7A5
background
#FDFEFC
surface
#F8FCF4
border
#D1D5CE
text
#11160C
muted
#81847F

Preview Lab

Preview with #87D951

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

Preview Lab → · Contrast checker → · Palette generator →

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