#87A371#87A371

#87A371 is a light, moderate yellow-green. Relative luminance 0.325; OKLCH L 68.1% C 0.077 H 131.9°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#87A371
RGBrgb(135, 163, 113)
HSLhsl(94, 21%, 54%)
HSVhsv(94, 31%, 64%)
CMYKcmyk(17.2%, 0%, 30.7%, 36.1%)
CIE-LABlab(63.78, -19.04, 22.88)
CIE-LCHlch(63.78, 29.76, 129.76°)
OKLaboklab(68.11% -0.0516 0.0575)
OKLCHoklch(68.11% 0.077 131.9)
XYZxyz(26.0690, 32.5371, 20.5264)
Luminance0.3254 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A371 #8D71A3
analogous
#A0A371 #87A371 #71A374
triadic
#87A371 #7187A3 #A37187
tetradic
#87A371 #71A0A3 #8D71A3 #A37471
square
#87A371 #71A0A3 #8D71A3 #A37471
split-complementary
#87A371 #7471A3 #A371A0
monochromatic
#4B5D3C #698254 #87A371 #A6BB96 #C6D3BB

Accessibility & contrast

On white

2.80
#87A371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#87A371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A371
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A371#FFFFFF#000000##000000
##87A3711.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79C6E
Deuteranopia (green-blind)
#A39A73
Tritanopia (blue-blind)
#889F96
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #87a371;
/* rgb */ color: rgb(135, 163, 113);
/* oklch */ color: oklch(68.1% 0.077 131.9);
Tailwind
colors: {
  custom: {
    50: '#aabe9a',
    500: '#87a371',
    950: '#000000',
  },
}
SCSS
$custom: #87a371;
$custom-light: #aabe9a;
$custom-dark: #000000;
JSON
{
  "hex": "#87a371",
  "rgb": {
    "r": 135,
    "g": 163,
    "b": 113
  },
  "hsl": {
    "h": 93.6,
    "s": 21.368,
    "l": 54.118
  },
  "oklch": {
    "l": 0.68105,
    "c": 0.07727,
    "h": 131.9
  },
  "luminance": 0.32538
}

Semantic roles & 50–950 ramp

primary
#87A371
secondary
#B9ADC3
accent
#6ABE99
background
#FAFBF9
surface
#F4F6F2
border
#CED0CC
text
#10120E
muted
#7F817E

Preview Lab

Preview with #87A371

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

Preview Lab → · Contrast checker → · Palette generator →

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