#87AB2D#87AB2D

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

Color values

HEX#87AB2D
RGBrgb(135, 171, 45)
HSLhsl(77, 58%, 42%)
HSVhsv(77, 74%, 67%)
CMYKcmyk(21.1%, 0%, 73.7%, 32.9%)
CIE-LABlab(65.33, -30.08, 57.11)
CIE-LCHlch(65.33, 64.54, 117.78°)
OKLaboklab(69.09% -0.0873 0.1272)
OKLCHoklch(69.09% 0.154 124.5)
XYZxyz(25.0285, 34.4659, 7.8161)
Luminance0.3447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AB2D #512DAB
analogous
#AB902D #87AB2D #48AB2D
triadic
#87AB2D #2D87AB #AB2D87
tetradic
#87AB2D #2DAB90 #512DAB #AB2D48
square
#87AB2D #2DAB90 #512DAB #AB2D48
split-complementary
#87AB2D #2D48AB #902DAB
monochromatic
#3A4A14 #617B20 #87AB2D #A8CE47 #BFDB77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87AB2D#FFFFFF#000000##000000
##87AB2D1.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)
#B5A014
Deuteranopia (green-blind)
#B09E38
Tritanopia (blue-blind)
#8DA393
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #87ab2d;
/* rgb */ color: rgb(135, 171, 45);
/* oklch */ color: oklch(69.1% 0.154 124.5);
Tailwind
colors: {
  custom: {
    50: '#adc46f',
    500: '#87ab2d',
    950: '#000000',
  },
}
SCSS
$custom: #87ab2d;
$custom-light: #adc46f;
$custom-dark: #000000;
JSON
{
  "hex": "#87ab2d",
  "rgb": {
    "r": 135,
    "g": 171,
    "b": 45
  },
  "hsl": {
    "h": 77.143,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.6909,
    "c": 0.15428,
    "h": 124.5
  },
  "luminance": 0.34466
}

Semantic roles & 50–950 ramp

primary
#87AB2D
secondary
#8871C3
accent
#46E273
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111208
muted
#80817B

Preview Lab

Preview with #87AB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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