#87A951#87A951

#87A951 is a light, vivid yellow-green. Relative luminance 0.341; OKLCH L 69.0% C 0.122 H 126.8°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#87A951
RGBrgb(135, 169, 81)
HSLhsl(83, 35%, 49%)
HSVhsv(83, 52%, 66%)
CMYKcmyk(20.1%, 0%, 52.1%, 33.7%)
CIE-LABlab(65.06, -26.22, 41.23)
CIE-LCHlch(65.06, 48.86, 122.45°)
OKLaboklab(68.97% -0.0734 0.0979)
OKLCHoklch(68.97% 0.122 126.8)
XYZxyz(25.6647, 34.1206, 13.0168)
Luminance0.3412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A951 #7351A9
analogous
#A99F51 #87A951 #5BA951
triadic
#87A951 #5187A9 #A95187
tetradic
#87A951 #51A99F #7351A9 #A9515B
square
#87A951 #51A99F #7351A9 #A9515B
split-complementary
#87A951 #515BA9 #9F51A9
monochromatic
#455629 #66803D #87A951 #A4BF79 #C0D2A2

Accessibility & contrast

On white

2.68
#87A951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#87A951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A951
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A951#FFFFFF#000000##000000
##87A9511.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F49
Deuteranopia (green-blind)
#AC9D56
Tritanopia (blue-blind)
#8BA295
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #87a951;
/* rgb */ color: rgb(135, 169, 81);
/* oklch */ color: oklch(69.0% 0.122 126.8);
Tailwind
colors: {
  custom: {
    50: '#acc284',
    500: '#87a951',
    950: '#000000',
  },
}
SCSS
$custom: #87a951;
$custom-light: #acc284;
$custom-dark: #000000;
JSON
{
  "hex": "#87a951",
  "rgb": {
    "r": 135,
    "g": 169,
    "b": 81
  },
  "hsl": {
    "h": 83.182,
    "s": 35.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.68972,
    "c": 0.12238,
    "h": 126.8
  },
  "luminance": 0.34121
}

Semantic roles & 50–950 ramp

primary
#87A951
secondary
#A696C0
accent
#5DCB87
background
#FAFBF8
surface
#F4F7EF
border
#CED0CA
text
#10120B
muted
#7F817C

Preview Lab

Preview with #87A951

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

Preview Lab → · Contrast checker → · Palette generator →

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