#87A156#87A156

#87A156 is a light, moderate yellow-green. Relative luminance 0.313; OKLCH L 67.2% C 0.106 H 124.8°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#87A156
RGBrgb(135, 161, 86)
HSLhsl(81, 30%, 48%)
HSVhsv(81, 47%, 63%)
CMYKcmyk(16.1%, 0%, 46.6%, 36.9%)
CIE-LABlab(62.77, -21.68, 35.93)
CIE-LCHlch(62.77, 41.97, 121.11°)
OKLaboklab(67.15% -0.0603 0.0866)
OKLCHoklch(67.15% 0.106 124.8)
XYZxyz(24.4162, 31.3124, 13.5599)
Luminance0.3131 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A156 #7056A1
analogous
#A19556 #87A156 #61A156
triadic
#87A156 #5687A1 #A15687
tetradic
#87A156 #56A195 #7056A1 #A15661
square
#87A156 #56A195 #7056A1 #A15661
split-complementary
#87A156 #5661A1 #9556A1
monochromatic
#44512B #667941 #87A156 #A3B97B #BFCEA3

Accessibility & contrast

On white

2.89
#87A156 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#87A156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A156
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A156#FFFFFF#000000##000000
##87A1561.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89950
Deuteranopia (green-blind)
#A5985A
Tritanopia (blue-blind)
#8B9B8F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #87a156;
/* rgb */ color: rgb(135, 161, 86);
/* oklch */ color: oklch(67.2% 0.106 124.8);
Tailwind
colors: {
  custom: {
    50: '#abbd87',
    500: '#87a156',
    950: '#000000',
  },
}
SCSS
$custom: #87a156;
$custom-light: #abbd87;
$custom-dark: #000000;
JSON
{
  "hex": "#87a156",
  "rgb": {
    "r": 135,
    "g": 161,
    "b": 86
  },
  "hsl": {
    "h": 80.8,
    "s": 30.364,
    "l": 48.431
  },
  "oklch": {
    "l": 0.67151,
    "c": 0.10553,
    "h": 124.8
  },
  "luminance": 0.31313
}

Semantic roles & 50–950 ramp

primary
#87A156
secondary
#A497BC
accent
#61C784
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#10120B
muted
#7F817C

Preview Lab

Preview with #87A156

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

Preview Lab → · Contrast checker → · Palette generator →

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