#87B940#87B940

#87B940 is a light, vivid yellow-green. Relative luminance 0.402; OKLCH L 72.6% C 0.159 H 129.0°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#87B940
RGBrgb(135, 185, 64)
HSLhsl(85, 49%, 49%)
HSVhsv(85, 65%, 73%)
CMYKcmyk(27%, 0%, 65.4%, 27.5%)
CIE-LABlab(69.62, -35.33, 54.13)
CIE-LCHlch(69.62, 64.64, 123.13°)
OKLaboklab(72.61% -0.1001 0.1238)
OKLCHoklch(72.61% 0.159 129)
XYZxyz(28.2659, 40.2183, 11.1232)
Luminance0.4022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B940 #7240B9
analogous
#B9AF40 #87B940 #4BB940
triadic
#87B940 #4087B9 #B94087
tetradic
#87B940 #40B9AF #7240B9 #B9404B
square
#87B940 #40B9AF #7240B9 #B9404B
split-complementary
#87B940 #404BB9 #AF40B9
monochromatic
#455E21 #668C30 #87B940 #A4CC6B #C0DB98

Accessibility & contrast

On white

2.32
#87B940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#87B940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B940
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B940#FFFFFF#000000##000000
##87B9401.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC30
Deuteranopia (green-blind)
#BBA94A
Tritanopia (blue-blind)
#8BB1A0
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #87b940;
/* rgb */ color: rgb(135, 185, 64);
/* oklch */ color: oklch(72.6% 0.159 129.0);
Tailwind
colors: {
  custom: {
    50: '#adce7b',
    500: '#87b940',
    950: '#000000',
  },
}
SCSS
$custom: #87b940;
$custom-light: #adce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#87b940",
  "rgb": {
    "r": 135,
    "g": 185,
    "b": 64
  },
  "hsl": {
    "h": 84.793,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.72613,
    "c": 0.15917,
    "h": 129
  },
  "luminance": 0.40219
}

Semantic roles & 50–950 ramp

primary
#87B940
secondary
#A58EC7
accent
#50D888
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #87B940

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

Preview Lab → · Contrast checker → · Palette generator →

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