#87A151#87A151

#87A151 is a light, moderate yellow-green. Relative luminance 0.312; OKLCH L 67.1% C 0.111 H 124.2°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#87A151
RGBrgb(135, 161, 81)
HSLhsl(80, 33%, 47%)
HSVhsv(80, 50%, 63%)
CMYKcmyk(16.1%, 0%, 49.7%, 36.9%)
CIE-LABlab(62.71, -22.25, 38.40)
CIE-LCHlch(62.71, 44.38, 120.08°)
OKLaboklab(67.08% -0.0623 0.0917)
OKLCHoklch(67.08% 0.111 124.2)
XYZxyz(24.2217, 31.2346, 12.5358)
Luminance0.3124 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A151 #6B51A1
analogous
#A19351 #87A151 #5FA151
triadic
#87A151 #5187A1 #A15187
tetradic
#87A151 #51A193 #6B51A1 #A1515F
square
#87A151 #51A193 #6B51A1 #A1515F
split-complementary
#87A151 #515FA1 #9351A1
monochromatic
#435028 #65783D #87A151 #A4BA75 #BFCE9E

Accessibility & contrast

On white

2.90
#87A151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#87A151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A151
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A151#FFFFFF#000000##000000
##87A1511.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9984A
Deuteranopia (green-blind)
#A59756
Tritanopia (blue-blind)
#8C9A8E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #87a151;
/* rgb */ color: rgb(135, 161, 81);
/* oklch */ color: oklch(67.1% 0.111 124.2);
Tailwind
colors: {
  custom: {
    50: '#abbc84',
    500: '#87a151',
    950: '#000000',
  },
}
SCSS
$custom: #87a151;
$custom-light: #abbc84;
$custom-dark: #000000;
JSON
{
  "hex": "#87a151",
  "rgb": {
    "r": 135,
    "g": 161,
    "b": 81
  },
  "hsl": {
    "h": 79.5,
    "s": 33.058,
    "l": 47.451
  },
  "oklch": {
    "l": 0.67078,
    "c": 0.11087,
    "h": 124.2
  },
  "luminance": 0.31235
}

Semantic roles & 50–950 ramp

primary
#87A151
secondary
#A093BB
accent
#5FC981
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#10120B
muted
#7F817C

Preview Lab

Preview with #87A151

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

Preview Lab → · Contrast checker → · Palette generator →

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