#87AB2E#87AB2E

#87AB2E 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#87AB2E
RGBrgb(135, 171, 46)
HSLhsl(77, 58%, 43%)
HSVhsv(77, 73%, 67%)
CMYKcmyk(21.1%, 0%, 73.1%, 32.9%)
CIE-LABlab(65.34, -30.03, 56.75)
CIE-LCHlch(65.34, 64.21, 117.88°)
OKLaboklab(69.1% -0.0871 0.1266)
OKLCHoklch(69.1% 0.154 124.5)
XYZxyz(25.0479, 34.4737, 7.9187)
Luminance0.3447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AB2E #522EAB
analogous
#AB912E #87AB2E #48AB2E
triadic
#87AB2E #2E87AB #AB2E87
tetradic
#87AB2E #2EAB91 #522EAB #AB2E48
square
#87AB2E #2EAB91 #522EAB #AB2E48
split-complementary
#87AB2E #2E48AB #912EAB
monochromatic
#3B4B14 #617B21 #87AB2E #A7CE48 #BFDB79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87AB2E#FFFFFF#000000##000000
##87AB2E1.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)
#B5A016
Deuteranopia (green-blind)
#B09E39
Tritanopia (blue-blind)
#8DA393
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #87ab2e;
/* rgb */ color: rgb(135, 171, 46);
/* oklch */ color: oklch(69.1% 0.154 124.5);
Tailwind
colors: {
  custom: {
    50: '#adc46f',
    500: '#87ab2e',
    950: '#000000',
  },
}
SCSS
$custom: #87ab2e;
$custom-light: #adc46f;
$custom-dark: #000000;
JSON
{
  "hex": "#87ab2e",
  "rgb": {
    "r": 135,
    "g": 171,
    "b": 46
  },
  "hsl": {
    "h": 77.28,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.69097,
    "c": 0.15368,
    "h": 124.5
  },
  "luminance": 0.34474
}

Semantic roles & 50–950 ramp

primary
#87AB2E
secondary
#8972C3
accent
#47E173
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111208
muted
#80817B

Preview Lab

Preview with #87AB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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