#87AB2C#87AB2C

#87AB2C is a light, vivid yellow-green. Relative luminance 0.345; OKLCH L 69.1% C 0.155 H 124.4°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#87AB2C
RGBrgb(135, 171, 44)
HSLhsl(77, 59%, 42%)
HSVhsv(77, 74%, 67%)
CMYKcmyk(21.1%, 0%, 74.3%, 32.9%)
CIE-LABlab(65.32, -30.14, 57.45)
CIE-LCHlch(65.32, 64.88, 117.68°)
OKLaboklab(69.08% -0.0876 0.1278)
OKLCHoklch(69.08% 0.155 124.4)
XYZxyz(25.0094, 34.4583, 7.7159)
Luminance0.3446 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AB2C #502CAB
analogous
#AB902C #87AB2C #47AB2C
triadic
#87AB2C #2C87AB #AB2C87
tetradic
#87AB2C #2CAB90 #502CAB #AB2C47
square
#87AB2C #2CAB90 #502CAB #AB2C47
split-complementary
#87AB2C #2C47AB #902CAB
monochromatic
#3A4A13 #617A1F #87AB2C #A8CF45 #BFDC76

Accessibility & contrast

On white

2.66
#87AB2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#87AB2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AB2C
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AB2C#FFFFFF#000000##000000
##87AB2C1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87ab2c;
/* rgb */ color: rgb(135, 171, 44);
/* oklch */ color: oklch(69.1% 0.155 124.4);
Tailwind
colors: {
  custom: {
    50: '#adc46e',
    500: '#87ab2c',
    950: '#000000',
  },
}
SCSS
$custom: #87ab2c;
$custom-light: #adc46e;
$custom-dark: #000000;
JSON
{
  "hex": "#87ab2c",
  "rgb": {
    "r": 135,
    "g": 171,
    "b": 44
  },
  "hsl": {
    "h": 77.008,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69083,
    "c": 0.15489,
    "h": 124.4
  },
  "luminance": 0.34459
}

Semantic roles & 50–950 ramp

primary
#87AB2C
secondary
#876FC3
accent
#46E272
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111208
muted
#80817B

Preview Lab

Preview with #87AB2C

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

Preview Lab → · Contrast checker → · Palette generator →

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