#87D451#87D451

#87D451 is a light, vivid yellow-green. Relative luminance 0.528; OKLCH L 79.3% C 0.182 H 134.5°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#87D451
RGBrgb(135, 212, 81)
HSLhsl(95, 60%, 57%)
HSVhsv(95, 62%, 83%)
CMYKcmyk(36.3%, 0%, 61.8%, 16.9%)
CIE-LABlab(77.77, -45.75, 55.84)
CIE-LCHlch(77.77, 72.19, 129.33°)
OKLaboklab(79.29% -0.1273 0.1294)
OKLCHoklch(79.29% 0.182 134.5)
XYZxyz(35.0196, 52.8304, 16.1351)
Luminance0.5283 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87D451 #9E51D4
analogous
#C9D451 #87D451 #51D45C
triadic
#87D451 #5187D4 #D45187
tetradic
#87D451 #51C9D4 #9E51D4 #D45C51
square
#87D451 #51C9D4 #9E51D4 #D45C51
split-complementary
#87D451 #5C51D4 #D451C9
monochromatic
#4C8922 #68BA2E #87D451 #A9E082 #CBECB3

Accessibility & contrast

On white

1.82
#87D451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.57
#87D451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87D451
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87D451#FFFFFF#000000##000000
##87D4511.001.8211.5711.57
#FFFFFF1.821.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC442
Deuteranopia (green-blind)
#D1BE5B
Tritanopia (blue-blind)
#86CCB8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #87d451;
/* rgb */ color: rgb(135, 212, 81);
/* oklch */ color: oklch(79.3% 0.182 134.5);
Tailwind
colors: {
  custom: {
    50: '#afe187',
    500: '#87d451',
    950: '#000000',
  },
}
SCSS
$custom: #87d451;
$custom-light: #afe187;
$custom-dark: #000000;
JSON
{
  "hex": "#87d451",
  "rgb": {
    "r": 135,
    "g": 212,
    "b": 81
  },
  "hsl": {
    "h": 95.267,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.79291,
    "c": 0.18151,
    "h": 134.5
  },
  "luminance": 0.52832
}

Semantic roles & 50–950 ramp

primary
#87D451
secondary
#6C3A8F
accent
#44E4A2
background
#FDFEFC
surface
#F8FCF3
border
#D1D5CD
text
#11150C
muted
#81847F

Preview Lab

Preview with #87D451

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

Preview Lab → · Contrast checker → · Palette generator →

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