#87C240#87C240

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

Color values

HEX#87C240
RGBrgb(135, 194, 64)
HSLhsl(87, 52%, 51%)
HSVhsv(87, 67%, 76%)
CMYKcmyk(30.4%, 0%, 67%, 23.9%)
CIE-LABlab(72.30, -39.37, 56.96)
CIE-LCHlch(72.30, 69.25, 124.65°)
OKLaboklab(74.78% -0.1112 0.1297)
OKLCHoklch(74.78% 0.171 130.6)
XYZxyz(30.2086, 44.1037, 11.7707)
Luminance0.4410 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87C240 #7B40C2
analogous
#C2BC40 #87C240 #46C240
triadic
#87C240 #4087C2 #C24087
tetradic
#87C240 #40C2BC #7B40C2 #C24046
square
#87C240 #40C2BC #7B40C2 #C24046
split-complementary
#87C240 #4046C2 #BC40C2
monochromatic
#476721 #679530 #87C240 #A4D16E #C1E09D

Accessibility & contrast

On white

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

On black

9.82
#87C240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87C240
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87C240#FFFFFF#000000##000000
##87C2401.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87c240;
/* rgb */ color: rgb(135, 194, 64);
/* oklch */ color: oklch(74.8% 0.171 130.6);
Tailwind
colors: {
  custom: {
    50: '#aed47b',
    500: '#87c240',
    950: '#000000',
  },
}
SCSS
$custom: #87c240;
$custom-light: #aed47b;
$custom-dark: #000000;
JSON
{
  "hex": "#87c240",
  "rgb": {
    "r": 135,
    "g": 194,
    "b": 64
  },
  "hsl": {
    "h": 87.231,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.74784,
    "c": 0.17083,
    "h": 130.6
  },
  "luminance": 0.44105
}

Semantic roles & 50–950 ramp

primary
#87C240
secondary
#AC92CC
accent
#4DDB8D
background
#FBFDF7
surface
#F6FAEE
border
#D0D3C9
text
#11140A
muted
#80837C

Preview Lab

Preview with #87C240

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

Preview Lab → · Contrast checker → · Palette generator →

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