#87BA40#87BA40

#87BA40 is a light, vivid yellow-green. Relative luminance 0.406; OKLCH L 72.9% C 0.160 H 129.2°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#87BA40
RGBrgb(135, 186, 64)
HSLhsl(85, 49%, 49%)
HSVhsv(85, 66%, 73%)
CMYKcmyk(27.4%, 0%, 65.6%, 27.1%)
CIE-LABlab(69.92, -35.79, 54.45)
CIE-LCHlch(69.92, 65.16, 123.31°)
OKLaboklab(72.85% -0.1013 0.1244)
OKLCHoklch(72.85% 0.16 129.2)
XYZxyz(28.4759, 40.6382, 11.1932)
Luminance0.4064 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87BA40 #7340BA
analogous
#BAB040 #87BA40 #4ABA40
triadic
#87BA40 #4087BA #BA4087
tetradic
#87BA40 #40BAB0 #7340BA #BA404A
square
#87BA40 #40BAB0 #7340BA #BA404A
split-complementary
#87BA40 #404ABA #B040BA
monochromatic
#455F21 #668C30 #87BA40 #A4CC6B #C0DC99

Accessibility & contrast

On white

2.30
#87BA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#87BA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87BA40
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87BA40#FFFFFF#000000##000000
##87BA401.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD30
Deuteranopia (green-blind)
#BBAA4A
Tritanopia (blue-blind)
#8BB2A1
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #87ba40;
/* rgb */ color: rgb(135, 186, 64);
/* oklch */ color: oklch(72.9% 0.160 129.2);
Tailwind
colors: {
  custom: {
    50: '#adcf7b',
    500: '#87ba40',
    950: '#000000',
  },
}
SCSS
$custom: #87ba40;
$custom-light: #adcf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#87ba40",
  "rgb": {
    "r": 135,
    "g": 186,
    "b": 64
  },
  "hsl": {
    "h": 85.082,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.72854,
    "c": 0.16047,
    "h": 129.2
  },
  "luminance": 0.40639
}

Semantic roles & 50–950 ramp

primary
#87BA40
secondary
#A68EC8
accent
#4FD889
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #87BA40

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

Preview Lab → · Contrast checker → · Palette generator →

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