#87B151#87B151

#87B151 is a light, vivid yellow-green. Relative luminance 0.372; OKLCH L 70.9% C 0.134 H 129.0°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#87B151
RGBrgb(135, 177, 81)
HSLhsl(86, 38%, 51%)
HSVhsv(86, 54%, 69%)
CMYKcmyk(23.7%, 0%, 54.2%, 30.6%)
CIE-LABlab(67.42, -30.07, 44.03)
CIE-LCHlch(67.42, 53.32, 124.34°)
OKLaboklab(70.88% -0.0841 0.104)
OKLCHoklch(70.88% 0.134 129)
XYZxyz(27.1988, 37.1887, 13.5281)
Luminance0.3719 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B151 #7B51B1
analogous
#B1AB51 #87B151 #57B151
triadic
#87B151 #5187B1 #B15187
tetradic
#87B151 #51B1AB #7B51B1 #B15157
square
#87B151 #51B1AB #7B51B1 #B15157
split-complementary
#87B151 #5157B1 #AB51B1
monochromatic
#475E2A #67883D #87B151 #A4C47B #C1D7A6

Accessibility & contrast

On white

2.49
#87B151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#87B151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B151
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B151#FFFFFF#000000##000000
##87B1511.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A648
Deuteranopia (green-blind)
#B3A357
Tritanopia (blue-blind)
#8AAA9C
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #87b151;
/* rgb */ color: rgb(135, 177, 81);
/* oklch */ color: oklch(70.9% 0.134 129.0);
Tailwind
colors: {
  custom: {
    50: '#acc885',
    500: '#87b151',
    950: '#000000',
  },
}
SCSS
$custom: #87b151;
$custom-light: #acc885;
$custom-dark: #000000;
JSON
{
  "hex": "#87b151",
  "rgb": {
    "r": 135,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 86.25,
    "s": 38.095,
    "l": 50.588
  },
  "oklch": {
    "l": 0.70878,
    "c": 0.13378,
    "h": 129
  },
  "luminance": 0.37189
}

Semantic roles & 50–950 ramp

primary
#87B151
secondary
#AC9AC4
accent
#5ACE8D
background
#FAFCF8
surface
#F4F8EF
border
#CED1CA
text
#10130B
muted
#7F827C

Preview Lab

Preview with #87B151

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

Preview Lab → · Contrast checker → · Palette generator →

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