#87AB27#87AB27

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

Color values

HEX#87AB27
RGBrgb(135, 171, 39)
HSLhsl(76, 63%, 41%)
HSVhsv(76, 77%, 67%)
CMYKcmyk(21.1%, 0%, 77.2%, 32.9%)
CIE-LABlab(65.30, -30.40, 59.10)
CIE-LCHlch(65.30, 66.46, 117.22°)
OKLaboklab(69.05% -0.0887 0.1304)
OKLCHoklch(69.05% 0.158 124.2)
XYZxyz(24.9211, 34.4230, 7.2504)
Luminance0.3442 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AB27 #4B27AB
analogous
#AB8D27 #87AB27 #45AB27
triadic
#87AB27 #2787AB #AB2787
tetradic
#87AB27 #27AB8D #4B27AB #AB2745
square
#87AB27 #27AB8D #4B27AB #AB2745
split-complementary
#87AB27 #2745AB #8D27AB
monochromatic
#384710 #60791C #87AB27 #AAD33D #C0DE6E

Accessibility & contrast

On white

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

On black

7.88
#87AB27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AB27
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AB27#FFFFFF#000000##000000
##87AB271.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A003
Deuteranopia (green-blind)
#B09E34
Tritanopia (blue-blind)
#8EA292
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #87ab27;
/* rgb */ color: rgb(135, 171, 39);
/* oklch */ color: oklch(69.1% 0.158 124.2);
Tailwind
colors: {
  custom: {
    50: '#aec46c',
    500: '#87ab27',
    950: '#000000',
  },
}
SCSS
$custom: #87ab27;
$custom-light: #aec46c;
$custom-dark: #000000;
JSON
{
  "hex": "#87ab27",
  "rgb": {
    "r": 135,
    "g": 171,
    "b": 39
  },
  "hsl": {
    "h": 76.364,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.69052,
    "c": 0.1577,
    "h": 124.2
  },
  "luminance": 0.34423
}

Semantic roles & 50–950 ramp

primary
#87AB27
secondary
#8269C5
accent
#42E66F
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111207
muted
#80817A

Preview Lab

Preview with #87AB27

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

Preview Lab → · Contrast checker → · Palette generator →

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