#87AB2B#87AB2B

#87AB2B 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#87AB2B
RGBrgb(135, 171, 43)
HSLhsl(77, 60%, 42%)
HSVhsv(77, 75%, 67%)
CMYKcmyk(21.1%, 0%, 74.9%, 32.9%)
CIE-LABlab(65.32, -30.19, 57.79)
CIE-LCHlch(65.32, 65.20, 117.58°)
OKLaboklab(69.08% -0.0878 0.1283)
OKLCHoklch(69.08% 0.155 124.4)
XYZxyz(24.9909, 34.4509, 7.6181)
Luminance0.3445 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AB2B #4F2BAB
analogous
#AB8F2B #87AB2B #47AB2B
triadic
#87AB2B #2B87AB #AB2B87
tetradic
#87AB2B #2BAB8F #4F2BAB #AB2B47
square
#87AB2B #2BAB8F #4F2BAB #AB2B47
split-complementary
#87AB2B #2B47AB #8F2BAB
monochromatic
#3A4912 #607A1F #87AB2B #A8D043 #BFDC74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87AB2B#FFFFFF#000000##000000
##87AB2B1.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)
#B5A00F
Deuteranopia (green-blind)
#B09E37
Tritanopia (blue-blind)
#8EA293
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #87ab2b;
/* rgb */ color: rgb(135, 171, 43);
/* oklch */ color: oklch(69.1% 0.155 124.4);
Tailwind
colors: {
  custom: {
    50: '#aec46e',
    500: '#87ab2b',
    950: '#000000',
  },
}
SCSS
$custom: #87ab2b;
$custom-light: #aec46e;
$custom-dark: #000000;
JSON
{
  "hex": "#87ab2b",
  "rgb": {
    "r": 135,
    "g": 171,
    "b": 43
  },
  "hsl": {
    "h": 76.875,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.69076,
    "c": 0.15547,
    "h": 124.4
  },
  "luminance": 0.34451
}

Semantic roles & 50–950 ramp

primary
#87AB2B
secondary
#866EC4
accent
#45E371
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111208
muted
#80817B

Preview Lab

Preview with #87AB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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