#87CE40#87CE40

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

Color values

HEX#87CE40
RGBrgb(135, 206, 64)
HSLhsl(90, 59%, 53%)
HSVhsv(90, 69%, 81%)
CMYKcmyk(34.5%, 0%, 68.9%, 19.2%)
CIE-LABlab(75.86, -44.58, 60.67)
CIE-LCHlch(75.86, 75.29, 126.31°)
OKLaboklab(77.69% -0.1254 0.1375)
OKLCHoklch(77.69% 0.186 132.4)
XYZxyz(32.9880, 49.6624, 12.6972)
Luminance0.4966 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87CE40 #8740CE
analogous
#CECE40 #87CE40 #40CE40
triadic
#87CE40 #4087CE #CE4087
tetradic
#87CE40 #40CECE #8740CE #CE4040
square
#87CE40 #40CECE #8740CE #CE4040
split-complementary
#87CE40 #4040CE #CE40CE
monochromatic
#4A751E #68A62B #87CE40 #A6DA71 #C4E7A1

Accessibility & contrast

On white

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

On black

10.93
#87CE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87CE40
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87CE40#FFFFFF#000000##000000
##87CE401.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87ce40;
/* rgb */ color: rgb(135, 206, 64);
/* oklch */ color: oklch(77.7% 0.186 132.4);
Tailwind
colors: {
  custom: {
    50: '#afdd7d',
    500: '#87ce40',
    950: '#000000',
  },
}
SCSS
$custom: #87ce40;
$custom-light: #afdd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#87ce40",
  "rgb": {
    "r": 135,
    "g": 206,
    "b": 64
  },
  "hsl": {
    "h": 90,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.77687,
    "c": 0.18607,
    "h": 132.4
  },
  "luminance": 0.49664
}

Semantic roles & 50–950 ramp

primary
#87CE40
secondary
#B596D4
accent
#45E294
background
#FBFDF7
surface
#F6FBEE
border
#D0D4C9
text
#11150A
muted
#80837C

Preview Lab

Preview with #87CE40

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

Preview Lab → · Contrast checker → · Palette generator →

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