#87B840#87B840

#87B840 is a light, vivid yellow-green. Relative luminance 0.398; OKLCH L 72.4% C 0.158 H 128.8°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#87B840
RGBrgb(135, 184, 64)
HSLhsl(85, 48%, 49%)
HSVhsv(85, 65%, 72%)
CMYKcmyk(26.6%, 0%, 65.2%, 27.8%)
CIE-LABlab(69.33, -34.87, 53.82)
CIE-LCHlch(69.33, 64.13, 122.94°)
OKLaboklab(72.37% -0.0988 0.1231)
OKLCHoklch(72.37% 0.158 128.8)
XYZxyz(28.0575, 39.8014, 11.0537)
Luminance0.3980 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B840 #7140B8
analogous
#B8AD40 #87B840 #4BB840
triadic
#87B840 #4087B8 #B84087
tetradic
#87B840 #40B8AD #7140B8 #B8404B
square
#87B840 #40B8AD #7140B8 #B8404B
split-complementary
#87B840 #404BB8 #AD40B8
monochromatic
#445D20 #668B30 #87B840 #A4CB6A #BFDB97

Accessibility & contrast

On white

2.34
#87B840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#87B840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B840
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B840#FFFFFF#000000##000000
##87B8401.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB30
Deuteranopia (green-blind)
#BAA849
Tritanopia (blue-blind)
#8BB09F
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #87b840;
/* rgb */ color: rgb(135, 184, 64);
/* oklch */ color: oklch(72.4% 0.158 128.8);
Tailwind
colors: {
  custom: {
    50: '#adcd7b',
    500: '#87b840',
    950: '#000000',
  },
}
SCSS
$custom: #87b840;
$custom-light: #adcd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#87b840",
  "rgb": {
    "r": 135,
    "g": 184,
    "b": 64
  },
  "hsl": {
    "h": 84.5,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.72372,
    "c": 0.15785,
    "h": 128.8
  },
  "luminance": 0.39802
}

Semantic roles & 50–950 ramp

primary
#87B840
secondary
#A58DC7
accent
#50D887
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #87B840

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

Preview Lab → · Contrast checker → · Palette generator →

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