#87C151#87C151

#87C151 is a light, vivid yellow-green. Relative luminance 0.439; OKLCH L 74.7% C 0.156 H 132.1°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#87C151
RGBrgb(135, 193, 81)
HSLhsl(91, 47%, 54%)
HSVhsv(91, 58%, 76%)
CMYKcmyk(30.1%, 0%, 58%, 24.3%)
CIE-LABlab(72.15, -37.47, 49.51)
CIE-LCHlch(72.15, 62.10, 127.12°)
OKLaboklab(74.71% -0.1046 0.1159)
OKLCHoklch(74.71% 0.156 132.1)
XYZxyz(30.5464, 43.8839, 14.6440)
Luminance0.4389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87C151 #8B51C1
analogous
#BFC151 #87C151 #51C153
triadic
#87C151 #5187C1 #C15187
tetradic
#87C151 #51BFC1 #8B51C1 #C15351
square
#87C151 #51BFC1 #8B51C1 #C15351
split-complementary
#87C151 #5351C1 #C151BF
monochromatic
#4B7028 #699D38 #87C151 #A6D17E #C5E1AB

Accessibility & contrast

On white

2.15
#87C151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#87C151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87C151
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87C151#FFFFFF#000000##000000
##87C1511.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B445
Deuteranopia (green-blind)
#C0AF59
Tritanopia (blue-blind)
#89BAA9
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #87c151;
/* rgb */ color: rgb(135, 193, 81);
/* oklch */ color: oklch(74.7% 0.156 132.1);
Tailwind
colors: {
  custom: {
    50: '#add486',
    500: '#87c151',
    950: '#000000',
  },
}
SCSS
$custom: #87c151;
$custom-light: #add486;
$custom-dark: #000000;
JSON
{
  "hex": "#87c151",
  "rgb": {
    "r": 135,
    "g": 193,
    "b": 81
  },
  "hsl": {
    "h": 91.071,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.74713,
    "c": 0.15609,
    "h": 132.1
  },
  "luminance": 0.43885
}

Semantic roles & 50–950 ramp

primary
#87C151
secondary
#B89FCF
accent
#51D796
background
#FAFDF8
surface
#F5FAEF
border
#CFD3CA
text
#11140B
muted
#80837C

Preview Lab

Preview with #87C151

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

Preview Lab → · Contrast checker → · Palette generator →

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