#87B72B#87B72B

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

Color values

HEX#87B72B
RGBrgb(135, 183, 43)
HSLhsl(81, 62%, 44%)
HSVhsv(81, 77%, 72%)
CMYKcmyk(26.2%, 0%, 76.5%, 28.2%)
CIE-LABlab(68.89, -35.76, 61.19)
CIE-LCHlch(68.89, 70.88, 120.30°)
OKLaboklab(71.97% -0.103 0.1355)
OKLCHoklch(71.97% 0.17 127.2)
XYZxyz(27.3613, 39.1917, 8.4083)
Luminance0.3919 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B72B #5B2BB7
analogous
#B7A12B #87B72B #41B72B
triadic
#87B72B #2B87B7 #B72B87
tetradic
#87B72B #2BB7A1 #5B2BB7 #B72B41
square
#87B72B #2BB7A1 #5B2BB7 #B72B41
split-complementary
#87B72B #2B41B7 #A12BB7
monochromatic
#3E5414 #62851F #87B72B #A5D54B #BEE07C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87B72B#FFFFFF#000000##000000
##87B72B1.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)
#C1AA06
Deuteranopia (green-blind)
#BAA739
Tritanopia (blue-blind)
#8CAE9D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #87b72b;
/* rgb */ color: rgb(135, 183, 43);
/* oklch */ color: oklch(72.0% 0.170 127.2);
Tailwind
colors: {
  custom: {
    50: '#aecc6f',
    500: '#87b72b',
    950: '#000000',
  },
}
SCSS
$custom: #87b72b;
$custom-light: #aecc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#87b72b",
  "rgb": {
    "r": 135,
    "g": 183,
    "b": 43
  },
  "hsl": {
    "h": 80.571,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.71971,
    "c": 0.17017,
    "h": 127.2
  },
  "luminance": 0.39192
}

Semantic roles & 50–950 ramp

primary
#87B72B
secondary
#9275C9
accent
#43E57A
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111308
muted
#80827B

Preview Lab

Preview with #87B72B

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

Preview Lab → · Contrast checker → · Palette generator →

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