#87A940#87A940

#87A940 is a light, vivid yellow-green. Relative luminance 0.339; OKLCH L 68.8% C 0.138 H 125.1°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#87A940
RGBrgb(135, 169, 64)
HSLhsl(79, 45%, 46%)
HSVhsv(79, 62%, 66%)
CMYKcmyk(20.1%, 0%, 62.1%, 33.7%)
CIE-LABlab(64.88, -27.81, 49.00)
CIE-LCHlch(64.88, 56.35, 119.58°)
OKLaboklab(68.77% -0.0794 0.1129)
OKLCHoklch(68.77% 0.138 125.1)
XYZxyz(25.1052, 33.8967, 10.0696)
Luminance0.3390 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A940 #6240A9
analogous
#A99640 #87A940 #52A940
triadic
#87A940 #4087A9 #A94087
tetradic
#87A940 #40A996 #6240A9 #A94052
square
#87A940 #40A996 #6240A9 #A94052
split-complementary
#87A940 #4052A9 #9640A9
monochromatic
#40501E #647D2F #87A940 #A4C462 #BED58F

Accessibility & contrast

On white

2.70
#87A940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#87A940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A940
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A940#FFFFFF#000000##000000
##87A9401.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F34
Deuteranopia (green-blind)
#AD9D47
Tritanopia (blue-blind)
#8DA193
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #87a940;
/* rgb */ color: rgb(135, 169, 64);
/* oklch */ color: oklch(68.8% 0.138 125.1);
Tailwind
colors: {
  custom: {
    50: '#adc279',
    500: '#87a940',
    950: '#000000',
  },
}
SCSS
$custom: #87a940;
$custom-light: #adc279;
$custom-dark: #000000;
JSON
{
  "hex": "#87a940",
  "rgb": {
    "r": 135,
    "g": 169,
    "b": 64
  },
  "hsl": {
    "h": 79.429,
    "s": 45.064,
    "l": 45.686
  },
  "oklch": {
    "l": 0.68772,
    "c": 0.13801,
    "h": 125.1
  },
  "luminance": 0.33897
}

Semantic roles & 50–950 ramp

primary
#87A940
secondary
#9885C0
accent
#53D57D
background
#FAFBF7
surface
#F4F7EE
border
#CED0C9
text
#101209
muted
#7F817B

Preview Lab

Preview with #87A940

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

Preview Lab → · Contrast checker → · Palette generator →

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