#87C951#87C951

#87C951 is a light, vivid yellow-green. Relative luminance 0.475; OKLCH L 76.6% C 0.167 H 133.2°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#87C951
RGBrgb(135, 201, 81)
HSLhsl(93, 53%, 55%)
HSVhsv(93, 60%, 79%)
CMYKcmyk(32.8%, 0%, 59.7%, 21.2%)
CIE-LABlab(74.52, -41.02, 52.20)
CIE-LCHlch(74.52, 66.39, 128.16°)
OKLaboklab(76.64% -0.1143 0.1216)
OKLCHoklch(76.64% 0.167 133.2)
XYZxyz(32.3630, 47.5170, 15.2495)
Luminance0.4752 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87C951 #9351C9
analogous
#C3C951 #87C951 #51C957
triadic
#87C951 #5187C9 #C95187
tetradic
#87C951 #51C3C9 #9351C9 #C95751
square
#87C951 #51C3C9 #9351C9 #C95751
split-complementary
#87C951 #5751C9 #C951C3
monochromatic
#4C7A26 #69A934 #87C951 #A7D780 #C7E6AE

Accessibility & contrast

On white

2.00
#87C951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#87C951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87C951
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87C951#FFFFFF#000000##000000
##87C9511.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB44
Deuteranopia (green-blind)
#C7B55A
Tritanopia (blue-blind)
#88C2AF
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #87c951;
/* rgb */ color: rgb(135, 201, 81);
/* oklch */ color: oklch(76.6% 0.167 133.2);
Tailwind
colors: {
  custom: {
    50: '#aeda86',
    500: '#87c951',
    950: '#000000',
  },
}
SCSS
$custom: #87c951;
$custom-light: #aeda86;
$custom-dark: #000000;
JSON
{
  "hex": "#87c951",
  "rgb": {
    "r": 135,
    "g": 201,
    "b": 81
  },
  "hsl": {
    "h": 93,
    "s": 52.632,
    "l": 55.294
  },
  "oklch": {
    "l": 0.76639,
    "c": 0.16694,
    "h": 133.2
  },
  "luminance": 0.47518
}

Semantic roles & 50–950 ramp

primary
#87C951
secondary
#BDA2D4
accent
#4CDC9B
background
#FBFDF8
surface
#F6FAF0
border
#D0D3CB
text
#11150B
muted
#80837C

Preview Lab

Preview with #87C951

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

Preview Lab → · Contrast checker → · Palette generator →

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