#87D742#87D742

#87D742 is a light, vivid yellow-green. Relative luminance 0.541; OKLCH L 79.9% C 0.196 H 133.6°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#87D742
RGBrgb(135, 215, 66)
HSLhsl(92, 65%, 55%)
HSVhsv(92, 69%, 84%)
CMYKcmyk(37.2%, 0%, 69.3%, 15.7%)
CIE-LABlab(78.55, -48.20, 62.68)
CIE-LCHlch(78.55, 79.07, 127.56°)
OKLaboklab(79.88% -0.1351 0.142)
OKLCHoklch(79.88% 0.196 133.6)
XYZxyz(35.2749, 54.1435, 13.7453)
Luminance0.5414 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87D742 #9242D7
analogous
#D1D742 #87D742 #42D747
triadic
#87D742 #4287D7 #D74287
tetradic
#87D742 #42D1D7 #9242D7 #D74742
square
#87D742 #42D1D7 #9242D7 #D74742
split-complementary
#87D742 #4742D7 #D742D1
monochromatic
#4B831C #69B526 #87D742 #A7E275 #C7ECA7

Accessibility & contrast

On white

1.78
#87D742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.83
#87D742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87D742
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87D742#FFFFFF#000000##000000
##87D7421.001.7811.8311.83
#FFFFFF1.781.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC62B
Deuteranopia (green-blind)
#D4C04F
Tritanopia (blue-blind)
#87CFB9
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #87d742;
/* rgb */ color: rgb(135, 215, 66);
/* oklch */ color: oklch(79.9% 0.196 133.6);
Tailwind
colors: {
  custom: {
    50: '#afe47f',
    500: '#87d742',
    950: '#000000',
  },
}
SCSS
$custom: #87d742;
$custom-light: #afe47f;
$custom-dark: #000000;
JSON
{
  "hex": "#87d742",
  "rgb": {
    "r": 135,
    "g": 215,
    "b": 66
  },
  "hsl": {
    "h": 92.215,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79882,
    "c": 0.19598,
    "h": 133.6
  },
  "luminance": 0.54145
}

Semantic roles & 50–950 ramp

primary
#87D742
secondary
#62348A
accent
#40E89A
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#11150B
muted
#81847E

Preview Lab

Preview with #87D742

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

Preview Lab → · Contrast checker → · Palette generator →

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