#87C242#87C242

#87C242 is a light, vivid yellow-green. Relative luminance 0.441; OKLCH L 74.8% C 0.169 H 130.8°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#87C242
RGBrgb(135, 194, 66)
HSLhsl(88, 51%, 51%)
HSVhsv(88, 66%, 76%)
CMYKcmyk(30.4%, 0%, 66%, 23.9%)
CIE-LABlab(72.31, -39.22, 56.17)
CIE-LCHlch(72.31, 68.51, 124.92°)
OKLaboklab(74.8% -0.1106 0.1283)
OKLCHoklch(74.8% 0.169 130.8)
XYZxyz(30.2666, 44.1269, 12.0759)
Luminance0.4413 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87C242 #7D42C2
analogous
#C2BD42 #87C242 #47C242
triadic
#87C242 #4287C2 #C24287
tetradic
#87C242 #42C2BD #7D42C2 #C24247
square
#87C242 #42C2BD #7D42C2 #C24247
split-complementary
#87C242 #4247C2 #BD42C2
monochromatic
#486822 #679631 #87C242 #A4D170 #C2E09F

Accessibility & contrast

On white

2.14
#87C242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#87C242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87C242
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87C242#FFFFFF#000000##000000
##87C2421.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB431
Deuteranopia (green-blind)
#C2B04C
Tritanopia (blue-blind)
#8ABAA8
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #87c242;
/* rgb */ color: rgb(135, 194, 66);
/* oklch */ color: oklch(74.8% 0.169 130.8);
Tailwind
colors: {
  custom: {
    50: '#aed47d',
    500: '#87c242',
    950: '#000000',
  },
}
SCSS
$custom: #87c242;
$custom-light: #aed47d;
$custom-dark: #000000;
JSON
{
  "hex": "#87c242",
  "rgb": {
    "r": 135,
    "g": 194,
    "b": 66
  },
  "hsl": {
    "h": 87.656,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.74802,
    "c": 0.1694,
    "h": 130.8
  },
  "luminance": 0.44128
}

Semantic roles & 50–950 ramp

primary
#87C242
secondary
#AE94CC
accent
#4DDB8E
background
#FBFDF7
surface
#F6FAEE
border
#D0D3C9
text
#11140A
muted
#80837C

Preview Lab

Preview with #87C242

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

Preview Lab → · Contrast checker → · Palette generator →

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