#87CF42#87CF42

#87CF42 is a light, vivid yellow-green. Relative luminance 0.502; OKLCH L 77.9% C 0.186 H 132.6°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#87CF42
RGBrgb(135, 207, 66)
HSLhsl(91, 59%, 54%)
HSVhsv(91, 68%, 81%)
CMYKcmyk(34.8%, 0%, 68.1%, 18.8%)
CIE-LABlab(76.17, -44.86, 60.23)
CIE-LCHlch(76.17, 75.10, 126.68°)
OKLaboklab(77.94% -0.126 0.1368)
OKLCHoklch(77.94% 0.186 132.6)
XYZxyz(33.2874, 50.1685, 13.0828)
Luminance0.5017 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87CF42 #8A42CF
analogous
#CECF42 #87CF42 #42CF43
triadic
#87CF42 #4287CF #CF4287
tetradic
#87CF42 #42CECF #8A42CF #CF4342
square
#87CF42 #42CECF #8A42CF #CF4342
split-complementary
#87CF42 #4342CF #CF42CE
monochromatic
#4A781F #69A92B #87CF42 #A6DB73 #C5E8A4

Accessibility & contrast

On white

1.90
#87CF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#87CF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87CF42
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87CF42#FFFFFF#000000##000000
##87CF421.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2D
Deuteranopia (green-blind)
#CDBA4E
Tritanopia (blue-blind)
#88C7B3
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #87cf42;
/* rgb */ color: rgb(135, 207, 66);
/* oklch */ color: oklch(77.9% 0.186 132.6);
Tailwind
colors: {
  custom: {
    50: '#afde7e',
    500: '#87cf42',
    950: '#000000',
  },
}
SCSS
$custom: #87cf42;
$custom-light: #afde7e;
$custom-dark: #000000;
JSON
{
  "hex": "#87cf42",
  "rgb": {
    "r": 135,
    "g": 207,
    "b": 66
  },
  "hsl": {
    "h": 90.638,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.77945,
    "c": 0.186,
    "h": 132.6
  },
  "luminance": 0.5017
}

Semantic roles & 50–950 ramp

primary
#87CF42
secondary
#5B3580
accent
#45E396
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#11150A
muted
#81847D

Preview Lab

Preview with #87CF42

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

Preview Lab → · Contrast checker → · Palette generator →

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