#87AC2C#87AC2C

#87AC2C 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#87AC2C
RGBrgb(135, 172, 44)
HSLhsl(77, 59%, 42%)
HSVhsv(77, 74%, 67%)
CMYKcmyk(21.5%, 0%, 74.4%, 32.5%)
CIE-LABlab(65.62, -30.61, 57.74)
CIE-LCHlch(65.62, 65.35, 117.93°)
OKLaboklab(69.32% -0.0889 0.1284)
OKLCHoklch(69.32% 0.156 124.7)
XYZxyz(25.1990, 34.8375, 7.7791)
Luminance0.3484 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AC2C #512CAC
analogous
#AC912C #87AC2C #47AC2C
triadic
#87AC2C #2C87AC #AC2C87
tetradic
#87AC2C #2CAC91 #512CAC #AC2C47
square
#87AC2C #2CAC91 #512CAC #AC2C47
split-complementary
#87AC2C #2C47AC #912CAC
monochromatic
#3A4B13 #617B20 #87AC2C #A8D046 #BFDC76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87AC2C#FFFFFF#000000##000000
##87AC2C1.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)
#B6A111
Deuteranopia (green-blind)
#B19F38
Tritanopia (blue-blind)
#8DA394
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #87ac2c;
/* rgb */ color: rgb(135, 172, 44);
/* oklch */ color: oklch(69.3% 0.156 124.7);
Tailwind
colors: {
  custom: {
    50: '#aec46f',
    500: '#87ac2c',
    950: '#000000',
  },
}
SCSS
$custom: #87ac2c;
$custom-light: #aec46f;
$custom-dark: #000000;
JSON
{
  "hex": "#87ac2c",
  "rgb": {
    "r": 135,
    "g": 172,
    "b": 44
  },
  "hsl": {
    "h": 77.344,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69324,
    "c": 0.15612,
    "h": 124.7
  },
  "luminance": 0.34838
}

Semantic roles & 50–950 ramp

primary
#87AC2C
secondary
#8870C4
accent
#45E273
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111208
muted
#80817B

Preview Lab

Preview with #87AC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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