#87B140#87B140

#87B140 is a light, vivid yellow-green. Relative luminance 0.370; OKLCH L 70.7% C 0.149 H 127.2°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#87B140
RGBrgb(135, 177, 64)
HSLhsl(82, 47%, 47%)
HSVhsv(82, 64%, 69%)
CMYKcmyk(23.7%, 0%, 63.8%, 30.6%)
CIE-LABlab(67.25, -31.63, 51.59)
CIE-LCHlch(67.25, 60.51, 121.51°)
OKLaboklab(70.69% -0.0899 0.1184)
OKLCHoklch(70.69% 0.149 127.2)
XYZxyz(26.6392, 36.9649, 10.5809)
Luminance0.3696 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B140 #6A40B1
analogous
#B1A340 #87B140 #4EB140
triadic
#87B140 #4087B1 #B14087
tetradic
#87B140 #40B1A3 #6A40B1 #B1404E
square
#87B140 #40B1A3 #6A40B1 #B1404E
split-complementary
#87B140 #404EB1 #A340B1
monochromatic
#42571F #658430 #87B140 #A4C866 #BFD893

Accessibility & contrast

On white

2.50
#87B140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#87B140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B140
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B140#FFFFFF#000000##000000
##87B1401.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA532
Deuteranopia (green-blind)
#B4A348
Tritanopia (blue-blind)
#8CA999
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #87b140;
/* rgb */ color: rgb(135, 177, 64);
/* oklch */ color: oklch(70.7% 0.149 127.2);
Tailwind
colors: {
  custom: {
    50: '#adc87a',
    500: '#87b140',
    950: '#000000',
  },
}
SCSS
$custom: #87b140;
$custom-light: #adc87a;
$custom-dark: #000000;
JSON
{
  "hex": "#87b140",
  "rgb": {
    "r": 135,
    "g": 177,
    "b": 64
  },
  "hsl": {
    "h": 82.301,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.70688,
    "c": 0.14864,
    "h": 127.2
  },
  "luminance": 0.36965
}

Semantic roles & 50–950 ramp

primary
#87B140
secondary
#9F89C3
accent
#51D783
background
#FAFCF7
surface
#F5F8EE
border
#CFD1C9
text
#111309
muted
#80827B

Preview Lab

Preview with #87B140

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

Preview Lab → · Contrast checker → · Palette generator →

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