#87AC28#87AC28

#87AC28 is a light, vivid yellow-green. Relative luminance 0.348; OKLCH L 69.3% C 0.158 H 124.5°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#87AC28
RGBrgb(135, 172, 40)
HSLhsl(77, 62%, 42%)
HSVhsv(77, 77%, 67%)
CMYKcmyk(21.5%, 0%, 76.7%, 32.5%)
CIE-LABlab(65.60, -30.82, 59.06)
CIE-LCHlch(65.60, 66.62, 117.56°)
OKLaboklab(69.3% -0.0897 0.1305)
OKLCHoklch(69.3% 0.158 124.5)
XYZxyz(25.1274, 34.8089, 7.4021)
Luminance0.3481 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AC28 #4D28AC
analogous
#AC8F28 #87AC28 #45AC28
triadic
#87AC28 #2887AC #AC2887
tetradic
#87AC28 #28AC8F #4D28AC #AC2845
square
#87AC28 #28AC8F #4D28AC #AC2845
split-complementary
#87AC28 #2845AC #8F28AC
monochromatic
#394911 #607A1C #87AC28 #A9D23F #BFDE71

Accessibility & contrast

On white

2.64
#87AC28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#87AC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AC28
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AC28#FFFFFF#000000##000000
##87AC281.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A105
Deuteranopia (green-blind)
#B19F35
Tritanopia (blue-blind)
#8EA393
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #87ac28;
/* rgb */ color: rgb(135, 172, 40);
/* oklch */ color: oklch(69.3% 0.158 124.5);
Tailwind
colors: {
  custom: {
    50: '#aec46d',
    500: '#87ac28',
    950: '#000000',
  },
}
SCSS
$custom: #87ac28;
$custom-light: #aec46d;
$custom-dark: #000000;
JSON
{
  "hex": "#87ac28",
  "rgb": {
    "r": 135,
    "g": 172,
    "b": 40
  },
  "hsl": {
    "h": 76.818,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69298,
    "c": 0.15838,
    "h": 124.5
  },
  "luminance": 0.34809
}

Semantic roles & 50–950 ramp

primary
#87AC28
secondary
#846BC5
accent
#42E570
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111208
muted
#80817B

Preview Lab

Preview with #87AC28

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

Preview Lab → · Contrast checker → · Palette generator →

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