#87A928#87A928

#87A928 is a light, vivid yellow-green. Relative luminance 0.337; OKLCH L 68.6% C 0.155 H 123.7°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#87A928
RGBrgb(135, 169, 40)
HSLhsl(76, 62%, 41%)
HSVhsv(76, 76%, 66%)
CMYKcmyk(20.1%, 0%, 76.3%, 33.7%)
CIE-LABlab(64.71, -29.40, 58.22)
CIE-LCHlch(64.71, 65.22, 116.79°)
OKLaboklab(68.58% -0.0859 0.1287)
OKLCHoklch(68.58% 0.155 123.7)
XYZxyz(24.5629, 33.6798, 7.2139)
Luminance0.3368 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A928 #4A28A9
analogous
#A98A28 #87A928 #46A928
triadic
#87A928 #2887A9 #A92887
tetradic
#87A928 #28A98A #4A28A9 #A92846
square
#87A928 #28A98A #4A28A9 #A92846
split-complementary
#87A928 #2846A9 #8A28A9
monochromatic
#384611 #5F781C #87A928 #AAD13D #C0DD6F

Accessibility & contrast

On white

2.71
#87A928 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#87A928 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A928
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A928#FFFFFF#000000##000000
##87A9281.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E08
Deuteranopia (green-blind)
#AE9D34
Tritanopia (blue-blind)
#8EA091
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #87a928;
/* rgb */ color: rgb(135, 169, 40);
/* oklch */ color: oklch(68.6% 0.155 123.7);
Tailwind
colors: {
  custom: {
    50: '#aec26c',
    500: '#87a928',
    950: '#000000',
  },
}
SCSS
$custom: #87a928;
$custom-light: #aec26c;
$custom-dark: #000000;
JSON
{
  "hex": "#87a928",
  "rgb": {
    "r": 135,
    "g": 169,
    "b": 40
  },
  "hsl": {
    "h": 75.814,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68577,
    "c": 0.15473,
    "h": 123.7
  },
  "luminance": 0.3368
}

Semantic roles & 50–950 ramp

primary
#87A928
secondary
#8169C4
accent
#43E56E
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #87A928

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

Preview Lab → · Contrast checker → · Palette generator →

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