#87BF40#87BF40

#87BF40 is a light, vivid yellow-green. Relative luminance 0.428; OKLCH L 74.1% C 0.167 H 130.1°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#87BF40
RGBrgb(135, 191, 64)
HSLhsl(86, 50%, 50%)
HSVhsv(86, 66%, 75%)
CMYKcmyk(29.3%, 0%, 66.5%, 25.1%)
CIE-LABlab(71.41, -38.04, 56.02)
CIE-LCHlch(71.41, 67.72, 124.18°)
OKLaboklab(74.06% -0.1075 0.1277)
OKLCHoklch(74.06% 0.167 130.1)
XYZxyz(29.5477, 42.7818, 11.5504)
Luminance0.4278 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87BF40 #7840BF
analogous
#BFB840 #87BF40 #47BF40
triadic
#87BF40 #4087BF #BF4087
tetradic
#87BF40 #40BFB8 #7840BF #BF4047
square
#87BF40 #40BFB8 #7840BF #BF4047
split-complementary
#87BF40 #4047BF #B840BF
monochromatic
#466321 #679131 #87BF40 #A4CE6E #C1DE9C

Accessibility & contrast

On white

2.20
#87BF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#87BF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87BF40
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87BF40#FFFFFF#000000##000000
##87BF401.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B22F
Deuteranopia (green-blind)
#C0AE4A
Tritanopia (blue-blind)
#8AB7A5
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #87bf40;
/* rgb */ color: rgb(135, 191, 64);
/* oklch */ color: oklch(74.1% 0.167 130.1);
Tailwind
colors: {
  custom: {
    50: '#aed27b',
    500: '#87bf40',
    950: '#000000',
  },
}
SCSS
$custom: #87bf40;
$custom-light: #aed27b;
$custom-dark: #000000;
JSON
{
  "hex": "#87bf40",
  "rgb": {
    "r": 135,
    "g": 191,
    "b": 64
  },
  "hsl": {
    "h": 86.457,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.7406,
    "c": 0.16697,
    "h": 130.1
  },
  "luminance": 0.42783
}

Semantic roles & 50–950 ramp

primary
#87BF40
secondary
#AA91CA
accent
#4ED98C
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#11140A
muted
#80827C

Preview Lab

Preview with #87BF40

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

Preview Lab → · Contrast checker → · Palette generator →

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