#87AC2B#87AC2B

#87AC2B is a light, vivid yellow-green. Relative luminance 0.348; OKLCH L 69.3% C 0.157 H 124.6°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#87AC2B
RGBrgb(135, 172, 43)
HSLhsl(77, 60%, 42%)
HSVhsv(77, 75%, 67%)
CMYKcmyk(21.5%, 0%, 75%, 32.5%)
CIE-LABlab(65.62, -30.67, 58.08)
CIE-LCHlch(65.62, 65.68, 117.83°)
OKLaboklab(69.32% -0.0891 0.1289)
OKLCHoklch(69.32% 0.157 124.6)
XYZxyz(25.1805, 34.8301, 7.6813)
Luminance0.3483 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AC2B #502BAC
analogous
#AC902B #87AC2B #47AC2B
triadic
#87AC2B #2B87AC #AC2B87
tetradic
#87AC2B #2BAC90 #502BAC #AC2B47
square
#87AC2B #2BAC90 #502BAC #AC2B47
split-complementary
#87AC2B #2B47AC #902BAC
monochromatic
#3A4A13 #617B1F #87AC2B #A8D044 #BFDC75

Accessibility & contrast

On white

2.64
#87AC2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#87AC2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AC2B
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AC2B#FFFFFF#000000##000000
##87AC2B1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A10F
Deuteranopia (green-blind)
#B19F37
Tritanopia (blue-blind)
#8DA393
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #87ac2b;
/* rgb */ color: rgb(135, 172, 43);
/* oklch */ color: oklch(69.3% 0.157 124.6);
Tailwind
colors: {
  custom: {
    50: '#aec46e',
    500: '#87ac2b',
    950: '#000000',
  },
}
SCSS
$custom: #87ac2b;
$custom-light: #aec46e;
$custom-dark: #000000;
JSON
{
  "hex": "#87ac2b",
  "rgb": {
    "r": 135,
    "g": 172,
    "b": 43
  },
  "hsl": {
    "h": 77.209,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69317,
    "c": 0.1567,
    "h": 124.6
  },
  "luminance": 0.3483
}

Semantic roles & 50–950 ramp

primary
#87AC2B
secondary
#876FC4
accent
#45E372
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111208
muted
#80817B

Preview Lab

Preview with #87AC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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