#87E840#87E840

#87E840 is a very light, highly saturated yellow-green. Relative luminance 0.632; OKLCH L 84.0% C 0.218 H 135.1°. Best body text is #000000 at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#87E840
RGBrgb(135, 232, 64)
HSLhsl(95, 79%, 58%)
HSVhsv(95, 72%, 91%)
CMYKcmyk(41.8%, 0%, 72.4%, 9%)
CIE-LABlab(83.56, -55.17, 68.46)
CIE-LCHlch(83.56, 87.93, 128.86°)
OKLaboklab(83.99% -0.1541 0.1538)
OKLCHoklch(83.99% 0.218 135.1)
XYZxyz(39.7728, 63.2321, 14.9588)
Luminance0.6323 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87E840 #A140E8
analogous
#DBE840 #87E840 #40E84D
triadic
#87E840 #4087E8 #E84087
tetradic
#87E840 #40DBE8 #A140E8 #E84D40
square
#87E840 #40DBE8 #A140E8 #E84D40
split-complementary
#87E840 #4D40E8 #E840DB
monochromatic
#4C9B13 #67D219 #87E840 #A9EF77 #CCF5AD

Accessibility & contrast

On white

1.54
#87E840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.65
#87E840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87E840
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87E840#FFFFFF#000000##000000
##87E8401.001.5413.6513.65
#FFFFFF1.541.0021.0021.00
#00000013.6521.001.001.00
##00000013.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D520
Deuteranopia (green-blind)
#E3CD51
Tritanopia (blue-blind)
#85DFC8
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #87e840;
/* rgb */ color: rgb(135, 232, 64);
/* oklch */ color: oklch(84.0% 0.218 135.1);
Tailwind
colors: {
  custom: {
    50: '#b1f07f',
    500: '#87e840',
    950: '#000000',
  },
}
SCSS
$custom: #87e840;
$custom-light: #b1f07f;
$custom-dark: #000000;
JSON
{
  "hex": "#87e840",
  "rgb": {
    "r": 135,
    "g": 232,
    "b": 64
  },
  "hsl": {
    "h": 94.643,
    "s": 78.505,
    "l": 58.039
  },
  "oklch": {
    "l": 0.83985,
    "c": 0.21773,
    "h": 135.1
  },
  "luminance": 0.63234
}

Semantic roles & 50–950 ramp

primary
#87E840
secondary
#6F2E9E
accent
#33F5A3
background
#FDFFFB
surface
#F8FEF2
border
#D1D6CC
text
#11160B
muted
#81857E

Preview Lab

Preview with #87E840

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

Preview Lab → · Contrast checker → · Palette generator →

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