#87D798#87D798

#87D798 is a light, moderate green. Relative luminance 0.560; OKLCH L 81.1% C 0.119 H 149.9°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#87D798
RGBrgb(135, 215, 152)
HSLhsl(133, 50%, 69%)
HSVhsv(133, 37%, 84%)
CMYKcmyk(37.2%, 0%, 29.3%, 15.7%)
CIE-LABlab(79.62, -37.61, 23.56)
CIE-LCHlch(79.62, 44.38, 147.94°)
OKLaboklab(81.11% -0.1028 0.0596)
OKLCHoklch(81.11% 0.119 149.9)
XYZxyz(39.9574, 56.0165, 38.4065)
Luminance0.5602 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87D798 #D787C6
analogous
#9ED787 #87D798 #87D7C0
triadic
#87D798 #9887D7 #D79887
tetradic
#87D798 #879ED7 #D787C6 #D7C087
square
#87D798 #879ED7 #D787C6 #D7C087
split-complementary
#87D798 #C087D7 #D7879E
monochromatic
#39AB51 #59C871 #87D798 #B5E6BF #E3F6E7

Accessibility & contrast

On white

1.72
#87D798 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.20
#87D798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87D798
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87D798#FFFFFF#000000##000000
##87D7981.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8CA94
Deuteranopia (green-blind)
#CCC29C
Tritanopia (blue-blind)
#7AD4C6
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #87d798;
/* rgb */ color: rgb(135, 215, 152);
/* oklch */ color: oklch(81.1% 0.119 149.9);
Tailwind
colors: {
  custom: {
    50: '#ade4b6',
    500: '#87d798',
    950: '#000000',
  },
}
SCSS
$custom: #87d798;
$custom-light: #ade4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#87d798",
  "rgb": {
    "r": 135,
    "g": 215,
    "b": 152
  },
  "hsl": {
    "h": 132.75,
    "s": 50,
    "l": 68.627
  },
  "oklch": {
    "l": 0.8111,
    "c": 0.11882,
    "h": 149.9
  },
  "luminance": 0.56019
}

Semantic roles & 50–950 ramp

primary
#87D798
secondary
#AD559A
accent
#289EBD
background
#FDFEFD
surface
#F7FCF8
border
#D0D5D1
text
#101511
muted
#818481

Preview Lab

Preview with #87D798

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

Preview Lab → · Contrast checker → · Palette generator →

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