#87CE42#87CE42

#87CE42 is a light, vivid yellow-green. Relative luminance 0.497; OKLCH L 77.7% C 0.185 H 132.5°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#87CE42
RGBrgb(135, 206, 66)
HSLhsl(90, 59%, 53%)
HSVhsv(90, 68%, 81%)
CMYKcmyk(34.5%, 0%, 68%, 19.2%)
CIE-LABlab(75.88, -44.43, 59.92)
CIE-LCHlch(75.88, 74.60, 126.56°)
OKLaboklab(77.7% -0.1248 0.1362)
OKLCHoklch(77.7% 0.185 132.5)
XYZxyz(33.0459, 49.6855, 13.0023)
Luminance0.4969 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87CE42 #8942CE
analogous
#CDCE42 #87CE42 #42CE43
triadic
#87CE42 #4287CE #CE4287
tetradic
#87CE42 #42CDCE #8942CE #CE4342
square
#87CE42 #42CDCE #8942CE #CE4342
split-complementary
#87CE42 #4342CE #CE42CD
monochromatic
#4A771F #69A72B #87CE42 #A6DB73 #C5E7A3

Accessibility & contrast

On white

1.92
#87CE42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.94
#87CE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87CE42
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87CE42#FFFFFF#000000##000000
##87CE421.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF2D
Deuteranopia (green-blind)
#CDB94E
Tritanopia (blue-blind)
#88C6B2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #87ce42;
/* rgb */ color: rgb(135, 206, 66);
/* oklch */ color: oklch(77.7% 0.185 132.5);
Tailwind
colors: {
  custom: {
    50: '#afdd7e',
    500: '#87ce42',
    950: '#000000',
  },
}
SCSS
$custom: #87ce42;
$custom-light: #afdd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#87ce42",
  "rgb": {
    "r": 135,
    "g": 206,
    "b": 66
  },
  "hsl": {
    "h": 90.429,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.77703,
    "c": 0.18474,
    "h": 132.5
  },
  "luminance": 0.49687
}

Semantic roles & 50–950 ramp

primary
#87CE42
secondary
#B698D4
accent
#46E295
background
#FBFDF8
surface
#F6FBEF
border
#D0D4CA
text
#11150A
muted
#80837C

Preview Lab

Preview with #87CE42

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

Preview Lab → · Contrast checker → · Palette generator →

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