#87AC2D#87AC2D

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

Color values

HEX#87AC2D
RGBrgb(135, 172, 45)
HSLhsl(77, 59%, 43%)
HSVhsv(77, 74%, 67%)
CMYKcmyk(21.5%, 0%, 73.8%, 32.5%)
CIE-LABlab(65.63, -30.56, 57.39)
CIE-LCHlch(65.63, 65.02, 118.03°)
OKLaboklab(69.33% -0.0886 0.1278)
OKLCHoklch(69.33% 0.156 124.7)
XYZxyz(25.2181, 34.8451, 7.8793)
Luminance0.3484 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AC2D #522DAC
analogous
#AC912D #87AC2D #48AC2D
triadic
#87AC2D #2D87AC #AC2D87
tetradic
#87AC2D #2DAC91 #522DAC #AC2D48
square
#87AC2D #2DAC91 #522DAC #AC2D48
split-complementary
#87AC2D #2D48AC #912DAC
monochromatic
#3B4B14 #617B20 #87AC2D #A7CF47 #BFDC78

Accessibility & contrast

On white

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

On black

7.97
#87AC2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AC2D
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AC2D#FFFFFF#000000##000000
##87AC2D1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A114
Deuteranopia (green-blind)
#B19F39
Tritanopia (blue-blind)
#8DA494
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #87ac2d;
/* rgb */ color: rgb(135, 172, 45);
/* oklch */ color: oklch(69.3% 0.156 124.7);
Tailwind
colors: {
  custom: {
    50: '#adc46f',
    500: '#87ac2d',
    950: '#000000',
  },
}
SCSS
$custom: #87ac2d;
$custom-light: #adc46f;
$custom-dark: #000000;
JSON
{
  "hex": "#87ac2d",
  "rgb": {
    "r": 135,
    "g": 172,
    "b": 45
  },
  "hsl": {
    "h": 77.48,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.6933,
    "c": 0.15553,
    "h": 124.7
  },
  "luminance": 0.34845
}

Semantic roles & 50–950 ramp

primary
#87AC2D
secondary
#8971C4
accent
#46E273
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111208
muted
#80817B

Preview Lab

Preview with #87AC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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