#87B951#87B951

#87B951 is a light, vivid yellow-green. Relative luminance 0.404; OKLCH L 72.8% C 0.145 H 130.7°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#87B951
RGBrgb(135, 185, 81)
HSLhsl(89, 43%, 52%)
HSVhsv(89, 56%, 73%)
CMYKcmyk(27%, 0%, 56.2%, 27.5%)
CIE-LABlab(69.78, -33.82, 46.79)
CIE-LCHlch(69.78, 57.73, 125.86°)
OKLaboklab(72.79% -0.0945 0.11)
OKLCHoklch(72.79% 0.145 130.7)
XYZxyz(28.8255, 40.4421, 14.0704)
Luminance0.4044 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B951 #8351B9
analogous
#B9B751 #87B951 #53B951
triadic
#87B951 #5187B9 #B95187
tetradic
#87B951 #51B9B7 #8351B9 #B95153
square
#87B951 #51B9B7 #8351B9 #B95153
split-complementary
#87B951 #5153B9 #B751B9
monochromatic
#496629 #68923B #87B951 #A5CB7D #C3DCA8

Accessibility & contrast

On white

2.31
#87B951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#87B951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B951
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B951#FFFFFF#000000##000000
##87B9511.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD47
Deuteranopia (green-blind)
#B9A958
Tritanopia (blue-blind)
#8AB2A2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #87b951;
/* rgb */ color: rgb(135, 185, 81);
/* oklch */ color: oklch(72.8% 0.145 130.7);
Tailwind
colors: {
  custom: {
    50: '#adce85',
    500: '#87b951',
    950: '#000000',
  },
}
SCSS
$custom: #87b951;
$custom-light: #adce85;
$custom-dark: #000000;
JSON
{
  "hex": "#87b951",
  "rgb": {
    "r": 135,
    "g": 185,
    "b": 81
  },
  "hsl": {
    "h": 88.846,
    "s": 42.623,
    "l": 52.157
  },
  "oklch": {
    "l": 0.72792,
    "c": 0.14503,
    "h": 130.7
  },
  "luminance": 0.40443
}

Semantic roles & 50–950 ramp

primary
#87B951
secondary
#B29CCA
accent
#55D291
background
#FAFCF8
surface
#F4F9EF
border
#CED2CA
text
#10130B
muted
#7F827C

Preview Lab

Preview with #87B951

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

Preview Lab → · Contrast checker → · Palette generator →

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