#87AB2A#87AB2A

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

Color values

HEX#87AB2A
RGBrgb(135, 171, 42)
HSLhsl(77, 61%, 42%)
HSVhsv(77, 75%, 67%)
CMYKcmyk(21.1%, 0%, 75.4%, 32.9%)
CIE-LABlab(65.31, -30.24, 58.13)
CIE-LCHlch(65.31, 65.53, 117.49°)
OKLaboklab(69.07% -0.088 0.1289)
OKLCHoklch(69.07% 0.156 124.3)
XYZxyz(24.9728, 34.4436, 7.5227)
Luminance0.3444 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AB2A #4E2AAB
analogous
#AB8F2A #87AB2A #47AB2A
triadic
#87AB2A #2A87AB #AB2A87
tetradic
#87AB2A #2AAB8F #4E2AAB #AB2A47
square
#87AB2A #2AAB8F #4E2AAB #AB2A47
split-complementary
#87AB2A #2A47AB #8F2AAB
monochromatic
#394912 #607A1E #87AB2A #A9D142 #BFDD73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87AB2A#FFFFFF#000000##000000
##87AB2A1.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)
#B5A00C
Deuteranopia (green-blind)
#B09E36
Tritanopia (blue-blind)
#8EA293
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #87ab2a;
/* rgb */ color: rgb(135, 171, 42);
/* oklch */ color: oklch(69.1% 0.156 124.3);
Tailwind
colors: {
  custom: {
    50: '#aec46d',
    500: '#87ab2a',
    950: '#000000',
  },
}
SCSS
$custom: #87ab2a;
$custom-light: #aec46d;
$custom-dark: #000000;
JSON
{
  "hex": "#87ab2a",
  "rgb": {
    "r": 135,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 76.744,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.6907,
    "c": 0.15604,
    "h": 124.3
  },
  "luminance": 0.34444
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #87AB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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