#87AF50#87AF50

#87AF50 is a light, vivid yellow-green. Relative luminance 0.364; OKLCH L 70.4% C 0.132 H 128.3°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#87AF50
RGBrgb(135, 175, 80)
HSLhsl(85, 37%, 50%)
HSVhsv(85, 54%, 69%)
CMYKcmyk(22.9%, 0%, 54.3%, 31.4%)
CIE-LABlab(66.82, -29.22, 43.80)
CIE-LCHlch(66.82, 52.65, 123.71°)
OKLaboklab(70.39% -0.0818 0.1035)
OKLCHoklch(70.39% 0.132 128.3)
XYZxyz(26.7695, 36.3895, 13.2014)
Luminance0.3639 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AF50 #7850AF
analogous
#AFA750 #87AF50 #58AF50
triadic
#87AF50 #5087AF #AF5087
tetradic
#87AF50 #50AFA7 #7850AF #AF5058
square
#87AF50 #50AFA7 #7850AF #AF5058
split-complementary
#87AF50 #5058AF #A750AF
monochromatic
#465B2A #67853D #87AF50 #A4C27A #C1D5A4

Accessibility & contrast

On white

2.54
#87AF50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#87AF50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AF50
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AF50#FFFFFF#000000##000000
##87AF501.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A447
Deuteranopia (green-blind)
#B1A256
Tritanopia (blue-blind)
#8BA89A
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #87af50;
/* rgb */ color: rgb(135, 175, 80);
/* oklch */ color: oklch(70.4% 0.132 128.3);
Tailwind
colors: {
  custom: {
    50: '#acc784',
    500: '#87af50',
    950: '#000000',
  },
}
SCSS
$custom: #87af50;
$custom-light: #acc784;
$custom-dark: #000000;
JSON
{
  "hex": "#87af50",
  "rgb": {
    "r": 135,
    "g": 175,
    "b": 80
  },
  "hsl": {
    "h": 85.263,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.70388,
    "c": 0.13191,
    "h": 128.3
  },
  "luminance": 0.3639
}

Semantic roles & 50–950 ramp

primary
#87AF50
secondary
#AA98C3
accent
#5BCD8B
background
#FAFCF8
surface
#F4F8EF
border
#CED1CA
text
#10130B
muted
#7F827C

Preview Lab

Preview with #87AF50

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

Preview Lab → · Contrast checker → · Palette generator →

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