#87AB40#87AB40

#87AB40 is a light, vivid yellow-green. Relative luminance 0.346; OKLCH L 69.3% C 0.141 H 125.7°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#87AB40
RGBrgb(135, 171, 64)
HSLhsl(80, 46%, 46%)
HSVhsv(80, 63%, 67%)
CMYKcmyk(21.1%, 0%, 62.6%, 32.9%)
CIE-LABlab(65.47, -28.78, 49.65)
CIE-LCHlch(65.47, 57.39, 120.10°)
OKLaboklab(69.25% -0.082 0.1143)
OKLCHoklch(69.25% 0.141 125.7)
XYZxyz(25.4801, 34.6466, 10.1946)
Luminance0.3465 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AB40 #6440AB
analogous
#AB9940 #87AB40 #51AB40
triadic
#87AB40 #4087AB #AB4087
tetradic
#87AB40 #40AB99 #6440AB #AB4051
square
#87AB40 #40AB99 #6440AB #AB4051
split-complementary
#87AB40 #4051AB #9940AB
monochromatic
#41521F #647E2F #87AB40 #A4C563 #BED590

Accessibility & contrast

On white

2.65
#87AB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#87AB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AB40
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AB40#FFFFFF#000000##000000
##87AB401.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A033
Deuteranopia (green-blind)
#AF9E48
Tritanopia (blue-blind)
#8CA394
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #87ab40;
/* rgb */ color: rgb(135, 171, 64);
/* oklch */ color: oklch(69.3% 0.141 125.7);
Tailwind
colors: {
  custom: {
    50: '#adc479',
    500: '#87ab40',
    950: '#000000',
  },
}
SCSS
$custom: #87ab40;
$custom-light: #adc479;
$custom-dark: #000000;
JSON
{
  "hex": "#87ab40",
  "rgb": {
    "r": 135,
    "g": 171,
    "b": 64
  },
  "hsl": {
    "h": 80.187,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.6925,
    "c": 0.14067,
    "h": 125.7
  },
  "luminance": 0.34647
}

Semantic roles & 50–950 ramp

primary
#87AB40
secondary
#9A86C1
accent
#53D57F
background
#FAFCF7
surface
#F5F8EE
border
#CFD1C9
text
#101209
muted
#7F817B

Preview Lab

Preview with #87AB40

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

Preview Lab → · Contrast checker → · Palette generator →

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