#87AC5B#87AC5B

#87AC5B is a light, moderate yellow-green. Relative luminance 0.354; OKLCH L 69.8% C 0.116 H 129.2°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#87AC5B
RGBrgb(135, 172, 91)
HSLhsl(87, 33%, 52%)
HSVhsv(87, 47%, 67%)
CMYKcmyk(21.5%, 0%, 47.1%, 32.5%)
CIE-LABlab(66.07, -26.55, 37.46)
CIE-LCHlch(66.07, 45.91, 125.33°)
OKLaboklab(69.83% -0.0736 0.0903)
OKLCHoklch(69.83% 0.116 129.2)
XYZxyz(26.6323, 35.4108, 15.3273)
Luminance0.3541 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AC5B #805BAC
analogous
#ACA95B #87AC5B #5FAC5B
triadic
#87AC5B #5B87AC #AC5B87
tetradic
#87AC5B #5BACA9 #805BAC #AC5B5F
square
#87AC5B #5BACA9 #805BAC #AC5B5F
split-complementary
#87AC5B #5B5FAC #A95BAC
monochromatic
#485D2F #688644 #87AC5B #A5C184 #C2D5AC

Accessibility & contrast

On white

2.60
#87AC5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#87AC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AC5B
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AC5B#FFFFFF#000000##000000
##87AC5B1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A254
Deuteranopia (green-blind)
#ADA060
Tritanopia (blue-blind)
#8AA699
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #87ac5b;
/* rgb */ color: rgb(135, 172, 91);
/* oklch */ color: oklch(69.8% 0.116 129.2);
Tailwind
colors: {
  custom: {
    50: '#abc58b',
    500: '#87ac5b',
    950: '#000000',
  },
}
SCSS
$custom: #87ac5b;
$custom-light: #abc58b;
$custom-dark: #000000;
JSON
{
  "hex": "#87ac5b",
  "rgb": {
    "r": 135,
    "g": 172,
    "b": 91
  },
  "hsl": {
    "h": 87.407,
    "s": 32.794,
    "l": 51.569
  },
  "oklch": {
    "l": 0.69827,
    "c": 0.11648,
    "h": 129.2
  },
  "luminance": 0.35411
}

Semantic roles & 50–950 ramp

primary
#87AC5B
secondary
#B0A0C3
accent
#5FC98F
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#10120C
muted
#7F817D

Preview Lab

Preview with #87AC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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