#87B740#87B740

#87B740 is a light, vivid yellow-green. Relative luminance 0.394; OKLCH L 72.1% C 0.157 H 128.6°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#87B740
RGBrgb(135, 183, 64)
HSLhsl(84, 48%, 48%)
HSVhsv(84, 65%, 72%)
CMYKcmyk(26.2%, 0%, 65%, 28.2%)
CIE-LABlab(69.03, -34.41, 53.50)
CIE-LCHlch(69.03, 63.61, 122.75°)
OKLaboklab(72.13% -0.0976 0.1224)
OKLCHoklch(72.13% 0.157 128.6)
XYZxyz(27.8505, 39.3874, 10.9847)
Luminance0.3939 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B740 #7040B7
analogous
#B7AB40 #87B740 #4BB740
triadic
#87B740 #4087B7 #B74087
tetradic
#87B740 #40B7AB #7040B7 #B7404B
square
#87B740 #40B7AB #7040B7 #B7404B
split-complementary
#87B740 #404BB7 #AB40B7
monochromatic
#445C20 #668A30 #87B740 #A3CB69 #BFDB97

Accessibility & contrast

On white

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

On black

8.88
#87B740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B740
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B740#FFFFFF#000000##000000
##87B7401.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB31
Deuteranopia (green-blind)
#B9A749
Tritanopia (blue-blind)
#8BAF9E
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #87b740;
/* rgb */ color: rgb(135, 183, 64);
/* oklch */ color: oklch(72.1% 0.157 128.6);
Tailwind
colors: {
  custom: {
    50: '#adcd7a',
    500: '#87b740',
    950: '#000000',
  },
}
SCSS
$custom: #87b740;
$custom-light: #adcd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#87b740",
  "rgb": {
    "r": 135,
    "g": 183,
    "b": 64
  },
  "hsl": {
    "h": 84.202,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.72131,
    "c": 0.15654,
    "h": 128.6
  },
  "luminance": 0.39388
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #87B740

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

Preview Lab → · Contrast checker → · Palette generator →

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