#87A718#87A718

#87A718 is a light, vivid yellow-green. Relative luminance 0.329; OKLCH L 68.0% C 0.160 H 122.6°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#87A718
RGBrgb(135, 167, 24)
HSLhsl(73, 75%, 37%)
HSVhsv(73, 86%, 65%)
CMYKcmyk(19.2%, 0%, 85.6%, 34.5%)
CIE-LABlab(64.04, -29.09, 62.14)
CIE-LCHlch(64.04, 68.61, 115.08°)
OKLaboklab(68.02% -0.0861 0.1344)
OKLCHoklch(68.02% 0.16 122.6)
XYZxyz(23.9756, 32.8542, 5.9424)
Luminance0.3285 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A718 #3818A7
analogous
#A78018 #87A718 #3FA718
triadic
#87A718 #1887A7 #A71887
tetradic
#87A718 #18A780 #3818A7 #A7183F
square
#87A718 #18A780 #3818A7 #A7183F
split-complementary
#87A718 #183FA7 #8018A7
monochromatic
#303C09 #5C7110 #87A718 #B2DD20 #C5E653

Accessibility & contrast

On white

2.77
#87A718 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#87A718 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A718
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A718#FFFFFF#000000##000000
##87A7181.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#AD9B29
Tritanopia (blue-blind)
#8F9E8E
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #87a718;
/* rgb */ color: rgb(135, 167, 24);
/* oklch */ color: oklch(68.0% 0.160 122.6);
Tailwind
colors: {
  custom: {
    50: '#aec166',
    500: '#87a718',
    950: '#000000',
  },
}
SCSS
$custom: #87a718;
$custom-light: #aec166;
$custom-dark: #000000;
JSON
{
  "hex": "#87a718",
  "rgb": {
    "r": 135,
    "g": 167,
    "b": 24
  },
  "hsl": {
    "h": 73.427,
    "s": 74.869,
    "l": 37.451
  },
  "oklch": {
    "l": 0.68016,
    "c": 0.15964,
    "h": 122.6
  },
  "luminance": 0.32854
}

Semantic roles & 50–950 ramp

primary
#87A718
secondary
#6D52C9
accent
#36F160
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111206
muted
#80817A

Preview Lab

Preview with #87A718

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

Preview Lab → · Contrast checker → · Palette generator →

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