#87D751#87D751

#87D751 is a light, vivid yellow-green. Relative luminance 0.543; OKLCH L 80.0% C 0.185 H 134.8°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#87D751
RGBrgb(135, 215, 81)
HSLhsl(96, 63%, 58%)
HSVhsv(96, 62%, 84%)
CMYKcmyk(37.2%, 0%, 62.3%, 15.7%)
CIE-LABlab(78.66, -47.01, 56.83)
CIE-LCHlch(78.66, 73.75, 129.60°)
OKLaboklab(80.02% -0.1307 0.1315)
OKLCHoklch(80.02% 0.185 134.8)
XYZxyz(35.7765, 54.3442, 16.3874)
Luminance0.5435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87D751 #A151D7
analogous
#CAD751 #87D751 #51D75E
triadic
#87D751 #5187D7 #D75187
tetradic
#87D751 #51CAD7 #A151D7 #D75E51
square
#87D751 #51CAD7 #A151D7 #D75E51
split-complementary
#87D751 #5E51D7 #D751CA
monochromatic
#4C8D20 #67BF2C #87D751 #A9E283 #CCEEB5

Accessibility & contrast

On white

1.77
#87D751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#87D751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87D751
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87D751#FFFFFF#000000##000000
##87D7511.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC741
Deuteranopia (green-blind)
#D4C05C
Tritanopia (blue-blind)
#86CFBB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #87d751;
/* rgb */ color: rgb(135, 215, 81);
/* oklch */ color: oklch(80.0% 0.185 134.8);
Tailwind
colors: {
  custom: {
    50: '#afe487',
    500: '#87d751',
    950: '#000000',
  },
}
SCSS
$custom: #87d751;
$custom-light: #afe487;
$custom-dark: #000000;
JSON
{
  "hex": "#87d751",
  "rgb": {
    "r": 135,
    "g": 215,
    "b": 81
  },
  "hsl": {
    "h": 95.821,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.80015,
    "c": 0.18542,
    "h": 134.8
  },
  "luminance": 0.54346
}

Semantic roles & 50–950 ramp

primary
#87D751
secondary
#6F3993
accent
#42E6A4
background
#FDFEFC
surface
#F8FCF3
border
#D1D5CD
text
#11150C
muted
#81847F

Preview Lab

Preview with #87D751

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

Preview Lab → · Contrast checker → · Palette generator →

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