#87B72E#87B72E

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

Color values

HEX#87B72E
RGBrgb(135, 183, 46)
HSLhsl(81, 60%, 45%)
HSVhsv(81, 75%, 72%)
CMYKcmyk(26.2%, 0%, 74.9%, 28.2%)
CIE-LABlab(68.91, -35.60, 60.22)
CIE-LCHlch(68.91, 69.96, 120.59°)
OKLaboklab(71.99% -0.1023 0.1339)
OKLCHoklch(71.99% 0.169 127.4)
XYZxyz(27.4184, 39.2146, 8.7089)
Luminance0.3921 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B72E #5E2EB7
analogous
#B7A32E #87B72E #43B72E
triadic
#87B72E #2E87B7 #B72E87
tetradic
#87B72E #2EB7A3 #5E2EB7 #B72E43
square
#87B72E #2EB7A3 #5E2EB7 #B72E43
split-complementary
#87B72E #2E43B7 #A32EB7
monochromatic
#3F5515 #638622 #87B72E #A5D34F #BEDF80

Accessibility & contrast

On white

2.37
#87B72E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##87B72E#FFFFFF#000000##000000
##87B72E1.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87b72e;
/* rgb */ color: rgb(135, 183, 46);
/* oklch */ color: oklch(72.0% 0.169 127.4);
Tailwind
colors: {
  custom: {
    50: '#aecc71',
    500: '#87b72e',
    950: '#000000',
  },
}
SCSS
$custom: #87b72e;
$custom-light: #aecc71;
$custom-dark: #000000;
JSON
{
  "hex": "#87b72e",
  "rgb": {
    "r": 135,
    "g": 183,
    "b": 46
  },
  "hsl": {
    "h": 81.022,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.7199,
    "c": 0.16852,
    "h": 127.4
  },
  "luminance": 0.39215
}

Semantic roles & 50–950 ramp

primary
#87B72E
secondary
#9579C8
accent
#45E37C
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111308
muted
#80827B

Preview Lab

Preview with #87B72E

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

Preview Lab → · Contrast checker → · Palette generator →

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