#87B72A#87B72A

#87B72A is a light, vivid yellow-green. Relative luminance 0.392; OKLCH L 72.0% C 0.171 H 127.2°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#87B72A
RGBrgb(135, 183, 42)
HSLhsl(80, 63%, 44%)
HSVhsv(80, 77%, 72%)
CMYKcmyk(26.2%, 0%, 77%, 28.2%)
CIE-LABlab(68.88, -35.81, 61.51)
CIE-LCHlch(68.88, 71.17, 120.21°)
OKLaboklab(71.97% -0.1032 0.136)
OKLCHoklch(71.97% 0.171 127.2)
XYZxyz(27.3432, 39.1845, 8.3128)
Luminance0.3918 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B72A #5A2AB7
analogous
#B7A12A #87B72A #40B72A
triadic
#87B72A #2A87B7 #B72A87
tetradic
#87B72A #2AB7A1 #5A2AB7 #B72A40
square
#87B72A #2AB7A1 #5A2AB7 #B72A40
split-complementary
#87B72A #2A40B7 #A12AB7
monochromatic
#3E5313 #62851F #87B72A #A5D549 #BEE17B

Accessibility & contrast

On white

2.38
#87B72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#87B72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B72A
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B72A#FFFFFF#000000##000000
##87B72A1.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA02
Deuteranopia (green-blind)
#BAA738
Tritanopia (blue-blind)
#8CAE9D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #87b72a;
/* rgb */ color: rgb(135, 183, 42);
/* oklch */ color: oklch(72.0% 0.171 127.2);
Tailwind
colors: {
  custom: {
    50: '#aecc6f',
    500: '#87b72a',
    950: '#000000',
  },
}
SCSS
$custom: #87b72a;
$custom-light: #aecc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#87b72a",
  "rgb": {
    "r": 135,
    "g": 183,
    "b": 42
  },
  "hsl": {
    "h": 80.426,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71965,
    "c": 0.17069,
    "h": 127.2
  },
  "luminance": 0.39185
}

Semantic roles & 50–950 ramp

primary
#87B72A
secondary
#9174C9
accent
#42E67A
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111308
muted
#80827B

Preview Lab

Preview with #87B72A

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

Preview Lab → · Contrast checker → · Palette generator →

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