#87CA42#87CA42

#87CA42 is a light, vivid yellow-green. Relative luminance 0.478; OKLCH L 76.7% C 0.180 H 132.0°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#87CA42
RGBrgb(135, 202, 66)
HSLhsl(90, 56%, 53%)
HSVhsv(90, 67%, 79%)
CMYKcmyk(33.2%, 0%, 67.3%, 20.8%)
CIE-LABlab(74.69, -42.72, 58.68)
CIE-LCHlch(74.69, 72.58, 126.06°)
OKLaboklab(76.74% -0.1202 0.1336)
OKLCHoklch(76.74% 0.18 132)
XYZxyz(32.0952, 47.7841, 12.6854)
Luminance0.4778 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87CA42 #8542CA
analogous
#CAC942 #87CA42 #43CA42
triadic
#87CA42 #4287CA #CA4287
tetradic
#87CA42 #42CAC9 #8542CA #CA4243
square
#87CA42 #42CAC9 #8542CA #CA4243
split-complementary
#87CA42 #4243CA #C942CA
monochromatic
#497220 #68A22D #87CA42 #A5D772 #C4E5A2

Accessibility & contrast

On white

1.99
#87CA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#87CA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87CA42
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87CA42#FFFFFF#000000##000000
##87CA421.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB2F
Deuteranopia (green-blind)
#C9B64E
Tritanopia (blue-blind)
#89C2AF
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #87ca42;
/* rgb */ color: rgb(135, 202, 66);
/* oklch */ color: oklch(76.7% 0.180 132.0);
Tailwind
colors: {
  custom: {
    50: '#aeda7d',
    500: '#87ca42',
    950: '#000000',
  },
}
SCSS
$custom: #87ca42;
$custom-light: #aeda7d;
$custom-dark: #000000;
JSON
{
  "hex": "#87ca42",
  "rgb": {
    "r": 135,
    "g": 202,
    "b": 66
  },
  "hsl": {
    "h": 89.559,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.76736,
    "c": 0.17966,
    "h": 132
  },
  "luminance": 0.47785
}

Semantic roles & 50–950 ramp

primary
#87CA42
secondary
#B396D1
accent
#48DF93
background
#FBFDF7
surface
#F6FBEE
border
#D0D4C9
text
#11150A
muted
#80837C

Preview Lab

Preview with #87CA42

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

Preview Lab → · Contrast checker → · Palette generator →

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