#87B240#87B240

#87B240 is a light, vivid yellow-green. Relative luminance 0.374; OKLCH L 70.9% C 0.150 H 127.5°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#87B240
RGBrgb(135, 178, 64)
HSLhsl(83, 47%, 47%)
HSVhsv(83, 64%, 70%)
CMYKcmyk(24.2%, 0%, 64%, 30.2%)
CIE-LABlab(67.55, -32.09, 51.91)
CIE-LCHlch(67.55, 61.03, 121.73°)
OKLaboklab(70.93% -0.0912 0.1191)
OKLCHoklch(70.93% 0.15 127.5)
XYZxyz(26.8375, 37.3614, 10.6470)
Luminance0.3736 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B240 #6B40B2
analogous
#B2A440 #87B240 #4EB240
triadic
#87B240 #4087B2 #B24087
tetradic
#87B240 #40B2A4 #6B40B2 #B2404E
square
#87B240 #40B2A4 #6B40B2 #B2404E
split-complementary
#87B240 #404EB2 #A440B2
monochromatic
#435820 #658530 #87B240 #A4C867 #BFD894

Accessibility & contrast

On white

2.48
#87B240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#87B240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B240
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B240#FFFFFF#000000##000000
##87B2401.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA632
Deuteranopia (green-blind)
#B5A449
Tritanopia (blue-blind)
#8CAA9A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #87b240;
/* rgb */ color: rgb(135, 178, 64);
/* oklch */ color: oklch(70.9% 0.150 127.5);
Tailwind
colors: {
  custom: {
    50: '#adc97a',
    500: '#87b240',
    950: '#000000',
  },
}
SCSS
$custom: #87b240;
$custom-light: #adc97a;
$custom-dark: #000000;
JSON
{
  "hex": "#87b240",
  "rgb": {
    "r": 135,
    "g": 178,
    "b": 64
  },
  "hsl": {
    "h": 82.632,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.70928,
    "c": 0.14996,
    "h": 127.5
  },
  "luminance": 0.37362
}

Semantic roles & 50–950 ramp

primary
#87B240
secondary
#A08AC4
accent
#51D783
background
#FAFCF7
surface
#F5F8EE
border
#CFD1C9
text
#111309
muted
#80827B

Preview Lab

Preview with #87B240

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

Preview Lab → · Contrast checker → · Palette generator →

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