#87AB28#87AB28

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

Color values

HEX#87AB28
RGBrgb(135, 171, 40)
HSLhsl(76, 62%, 41%)
HSVhsv(76, 77%, 67%)
CMYKcmyk(21.1%, 0%, 76.6%, 32.9%)
CIE-LABlab(65.30, -30.35, 58.78)
CIE-LCHlch(65.30, 66.15, 117.31°)
OKLaboklab(69.06% -0.0885 0.1299)
OKLCHoklch(69.06% 0.157 124.3)
XYZxyz(24.9378, 34.4297, 7.3389)
Luminance0.3443 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AB28 #4C28AB
analogous
#AB8E28 #87AB28 #45AB28
triadic
#87AB28 #2887AB #AB2887
tetradic
#87AB28 #28AB8E #4C28AB #AB2845
square
#87AB28 #28AB8E #4C28AB #AB2845
split-complementary
#87AB28 #2845AB #8E28AB
monochromatic
#394811 #60791C #87AB28 #A9D23E #BFDE70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87AB28#FFFFFF#000000##000000
##87AB281.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)
#B5A006
Deuteranopia (green-blind)
#B09E35
Tritanopia (blue-blind)
#8EA292
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #87ab28;
/* rgb */ color: rgb(135, 171, 40);
/* oklch */ color: oklch(69.1% 0.157 124.3);
Tailwind
colors: {
  custom: {
    50: '#aec46d',
    500: '#87ab28',
    950: '#000000',
  },
}
SCSS
$custom: #87ab28;
$custom-light: #aec46d;
$custom-dark: #000000;
JSON
{
  "hex": "#87ab28",
  "rgb": {
    "r": 135,
    "g": 171,
    "b": 40
  },
  "hsl": {
    "h": 76.489,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.69058,
    "c": 0.15716,
    "h": 124.3
  },
  "luminance": 0.3443
}

Semantic roles & 50–950 ramp

primary
#87AB28
secondary
#836AC4
accent
#43E56F
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111207
muted
#80817A

Preview Lab

Preview with #87AB28

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

Preview Lab → · Contrast checker → · Palette generator →

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