#87D151#87D151

#87D151 is a light, vivid yellow-green. Relative luminance 0.513; OKLCH L 78.6% C 0.178 H 134.2°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#87D151
RGBrgb(135, 209, 81)
HSLhsl(95, 58%, 57%)
HSVhsv(95, 61%, 82%)
CMYKcmyk(35.4%, 0%, 61.2%, 18%)
CIE-LABlab(76.89, -44.48, 54.86)
CIE-LCHlch(76.89, 70.62, 129.04°)
OKLaboklab(78.57% -0.1238 0.1273)
OKLCHoklch(78.57% 0.178 134.2)
XYZxyz(34.2767, 51.3444, 15.8874)
Luminance0.5135 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87D151 #9B51D1
analogous
#C7D151 #87D151 #51D15B
triadic
#87D151 #5187D1 #D15187
tetradic
#87D151 #51C7D1 #9B51D1 #D15B51
square
#87D151 #51C7D1 #9B51D1 #D15B51
split-complementary
#87D151 #5B51D1 #D151C7
monochromatic
#4C8523 #68B530 #87D151 #A8DE81 #CAEBB2

Accessibility & contrast

On white

1.86
#87D151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.27
#87D151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87D151
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87D151#FFFFFF#000000##000000
##87D1511.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C242
Deuteranopia (green-blind)
#CEBC5B
Tritanopia (blue-blind)
#87C9B6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #87d151;
/* rgb */ color: rgb(135, 209, 81);
/* oklch */ color: oklch(78.6% 0.178 134.2);
Tailwind
colors: {
  custom: {
    50: '#aedf87',
    500: '#87d151',
    950: '#000000',
  },
}
SCSS
$custom: #87d151;
$custom-light: #aedf87;
$custom-dark: #000000;
JSON
{
  "hex": "#87d151",
  "rgb": {
    "r": 135,
    "g": 209,
    "b": 81
  },
  "hsl": {
    "h": 94.688,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.78567,
    "c": 0.17758,
    "h": 134.2
  },
  "luminance": 0.51346
}

Semantic roles & 50–950 ramp

primary
#87D151
secondary
#693B8B
accent
#46E1A0
background
#FDFEFC
surface
#F8FCF3
border
#D1D5CD
text
#11150C
muted
#81847F

Preview Lab

Preview with #87D151

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

Preview Lab → · Contrast checker → · Palette generator →

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