#87AB2F#87AB2F

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

Color values

HEX#87AB2F
RGBrgb(135, 171, 47)
HSLhsl(77, 57%, 43%)
HSVhsv(77, 73%, 67%)
CMYKcmyk(21.1%, 0%, 72.5%, 32.9%)
CIE-LABlab(65.34, -29.97, 56.40)
CIE-LCHlch(65.34, 63.86, 117.99°)
OKLaboklab(69.1% -0.0868 0.126)
OKLCHoklch(69.1% 0.153 124.6)
XYZxyz(25.0679, 34.4817, 8.0237)
Luminance0.3448 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AB2F #532FAB
analogous
#AB912F #87AB2F #49AB2F
triadic
#87AB2F #2F87AB #AB2F87
tetradic
#87AB2F #2FAB91 #532FAB #AB2F49
square
#87AB2F #2FAB91 #532FAB #AB2F49
split-complementary
#87AB2F #2F49AB #912FAB
monochromatic
#3B4B15 #617B22 #87AB2F #A7CD4A #BEDA7A

Accessibility & contrast

On white

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

On black

7.90
#87AB2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AB2F
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AB2F#FFFFFF#000000##000000
##87AB2F1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A018
Deuteranopia (green-blind)
#B09E3A
Tritanopia (blue-blind)
#8DA393
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #87ab2f;
/* rgb */ color: rgb(135, 171, 47);
/* oklch */ color: oklch(69.1% 0.153 124.6);
Tailwind
colors: {
  custom: {
    50: '#adc470',
    500: '#87ab2f',
    950: '#000000',
  },
}
SCSS
$custom: #87ab2f;
$custom-light: #adc470;
$custom-dark: #000000;
JSON
{
  "hex": "#87ab2f",
  "rgb": {
    "r": 135,
    "g": 171,
    "b": 47
  },
  "hsl": {
    "h": 77.419,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.69104,
    "c": 0.15306,
    "h": 124.6
  },
  "luminance": 0.34482
}

Semantic roles & 50–950 ramp

primary
#87AB2F
secondary
#8A73C3
accent
#48E074
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111208
muted
#80817B

Preview Lab

Preview with #87AB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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