#87DF52#87DF52

#87DF52 is a light, vivid yellow-green. Relative luminance 0.585; OKLCH L 82.0% C 0.195 H 135.7°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#87DF52
RGBrgb(135, 223, 82)
HSLhsl(97, 69%, 60%)
HSVhsv(97, 63%, 87%)
CMYKcmyk(39.5%, 0%, 63.2%, 12.5%)
CIE-LABlab(81.03, -50.23, 59.01)
CIE-LCHlch(81.03, 77.50, 130.40°)
OKLaboklab(81.96% -0.1394 0.1362)
OKLCHoklch(81.96% 0.195 135.7)
XYZxyz(37.9014, 58.5335, 17.2820)
Luminance0.5854 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87DF52 #AA52DF
analogous
#CDDF52 #87DF52 #52DF64
triadic
#87DF52 #5287DF #DF5287
tetradic
#87DF52 #52CDDF #AA52DF #DF6452
square
#87DF52 #52CDDF #AA52DF #DF6452
split-complementary
#87DF52 #6452DF #DF52CD
monochromatic
#4C9A1D #65CE26 #87DF52 #ABE986 #CFF2B9

Accessibility & contrast

On white

1.65
#87DF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.71
#87DF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87DF52
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87DF52#FFFFFF#000000##000000
##87DF521.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE41
Deuteranopia (green-blind)
#DBC75D
Tritanopia (blue-blind)
#84D7C2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #87df52;
/* rgb */ color: rgb(135, 223, 82);
/* oklch */ color: oklch(82.0% 0.195 135.7);
Tailwind
colors: {
  custom: {
    50: '#afe988',
    500: '#87df52',
    950: '#000000',
  },
}
SCSS
$custom: #87df52;
$custom-light: #afe988;
$custom-dark: #000000;
JSON
{
  "hex": "#87df52",
  "rgb": {
    "r": 135,
    "g": 223,
    "b": 82
  },
  "hsl": {
    "h": 97.447,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.81956,
    "c": 0.19494,
    "h": 135.7
  },
  "luminance": 0.58535
}

Semantic roles & 50–950 ramp

primary
#87DF52
secondary
#77379E
accent
#3CECAA
background
#FDFEFC
surface
#F8FDF4
border
#D1D5CE
text
#11160C
muted
#81847F

Preview Lab

Preview with #87DF52

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

Preview Lab → · Contrast checker → · Palette generator →

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