#87B72C#87B72C

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

Color values

HEX#87B72C
RGBrgb(135, 183, 44)
HSLhsl(81, 61%, 45%)
HSVhsv(81, 76%, 72%)
CMYKcmyk(26.2%, 0%, 76%, 28.2%)
CIE-LABlab(68.90, -35.71, 60.87)
CIE-LCHlch(68.90, 70.57, 120.40°)
OKLaboklab(71.98% -0.1028 0.1349)
OKLCHoklch(71.98% 0.17 127.3)
XYZxyz(27.3799, 39.1992, 8.5061)
Luminance0.3920 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B72C #5C2CB7
analogous
#B7A12C #87B72C #42B72C
triadic
#87B72C #2C87B7 #B72C87
tetradic
#87B72C #2CB7A1 #5C2CB7 #B72C42
square
#87B72C #2CB7A1 #5C2CB7 #B72C42
split-complementary
#87B72C #2C42B7 #A12CB7
monochromatic
#3E5414 #638620 #87B72C #A5D44C #BEE07E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87B72C#FFFFFF#000000##000000
##87B72C1.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)
#C0AA09
Deuteranopia (green-blind)
#BAA73A
Tritanopia (blue-blind)
#8CAE9D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #87b72c;
/* rgb */ color: rgb(135, 183, 44);
/* oklch */ color: oklch(72.0% 0.170 127.3);
Tailwind
colors: {
  custom: {
    50: '#aecc70',
    500: '#87b72c',
    950: '#000000',
  },
}
SCSS
$custom: #87b72c;
$custom-light: #aecc70;
$custom-dark: #000000;
JSON
{
  "hex": "#87b72c",
  "rgb": {
    "r": 135,
    "g": 183,
    "b": 44
  },
  "hsl": {
    "h": 80.719,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.71977,
    "c": 0.16963,
    "h": 127.3
  },
  "luminance": 0.392
}

Semantic roles & 50–950 ramp

primary
#87B72C
secondary
#9376C8
accent
#43E47B
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111308
muted
#80827B

Preview Lab

Preview with #87B72C

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

Preview Lab → · Contrast checker → · Palette generator →

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