#87A927#87A927

#87A927 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.73:1 contrast (WCAG AA passes).

Color values

HEX#87A927
RGBrgb(135, 169, 39)
HSLhsl(76, 63%, 41%)
HSVhsv(76, 77%, 66%)
CMYKcmyk(20.1%, 0%, 76.9%, 33.7%)
CIE-LABlab(64.70, -29.45, 58.55)
CIE-LCHlch(64.70, 65.53, 116.70°)
OKLaboklab(68.57% -0.0861 0.1292)
OKLCHoklch(68.57% 0.155 123.7)
XYZxyz(24.5461, 33.6731, 7.1255)
Luminance0.3367 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A927 #4927A9
analogous
#A98A27 #87A927 #46A927
triadic
#87A927 #2787A9 #A92787
tetradic
#87A927 #27A98A #4927A9 #A92746
square
#87A927 #27A98A #4927A9 #A92746
split-complementary
#87A927 #2746A9 #8A27A9
monochromatic
#384610 #5F771C #87A927 #AAD23B #C0DD6D

Accessibility & contrast

On white

2.72
#87A927 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#87A927 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A927
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A927#FFFFFF#000000##000000
##87A9271.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87a927;
/* rgb */ color: rgb(135, 169, 39);
/* oklch */ color: oklch(68.6% 0.155 123.7);
Tailwind
colors: {
  custom: {
    50: '#aec26c',
    500: '#87a927',
    950: '#000000',
  },
}
SCSS
$custom: #87a927;
$custom-light: #aec26c;
$custom-dark: #000000;
JSON
{
  "hex": "#87a927",
  "rgb": {
    "r": 135,
    "g": 169,
    "b": 39
  },
  "hsl": {
    "h": 75.692,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.6857,
    "c": 0.15527,
    "h": 123.7
  },
  "luminance": 0.33673
}

Semantic roles & 50–950 ramp

primary
#87A927
secondary
#8068C4
accent
#42E66D
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #87A927

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

Preview Lab → · Contrast checker → · Palette generator →

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