#87AC2A#87AC2A

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

Color values

HEX#87AC2A
RGBrgb(135, 172, 42)
HSLhsl(77, 61%, 42%)
HSVhsv(77, 76%, 67%)
CMYKcmyk(21.5%, 0%, 75.6%, 32.5%)
CIE-LABlab(65.61, -30.72, 58.41)
CIE-LCHlch(65.61, 66.00, 117.74°)
OKLaboklab(69.31% -0.0893 0.1295)
OKLCHoklch(69.31% 0.157 124.6)
XYZxyz(25.1624, 34.8228, 7.5859)
Luminance0.3482 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AC2A #4F2AAC
analogous
#AC902A #87AC2A #46AC2A
triadic
#87AC2A #2A87AC #AC2A87
tetradic
#87AC2A #2AAC90 #4F2AAC #AC2A46
square
#87AC2A #2AAC90 #4F2AAC #AC2A46
split-complementary
#87AC2A #2A46AC #902AAC
monochromatic
#3A4A12 #607B1E #87AC2A #A8D142 #BFDD73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87AC2A#FFFFFF#000000##000000
##87AC2A1.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)
#B6A10C
Deuteranopia (green-blind)
#B19F36
Tritanopia (blue-blind)
#8DA393
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #87ac2a;
/* rgb */ color: rgb(135, 172, 42);
/* oklch */ color: oklch(69.3% 0.157 124.6);
Tailwind
colors: {
  custom: {
    50: '#aec46e',
    500: '#87ac2a',
    950: '#000000',
  },
}
SCSS
$custom: #87ac2a;
$custom-light: #aec46e;
$custom-dark: #000000;
JSON
{
  "hex": "#87ac2a",
  "rgb": {
    "r": 135,
    "g": 172,
    "b": 42
  },
  "hsl": {
    "h": 77.077,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.69311,
    "c": 0.15727,
    "h": 124.6
  },
  "luminance": 0.34823
}

Semantic roles & 50–950 ramp

primary
#87AC2A
secondary
#866DC4
accent
#44E471
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111208
muted
#80817B

Preview Lab

Preview with #87AC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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