#87A727#87A727

#87A727 is a light, vivid yellow-green. Relative luminance 0.329; OKLCH L 68.1% C 0.153 H 123.1°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#87A727
RGBrgb(135, 167, 39)
HSLhsl(75, 62%, 40%)
HSVhsv(75, 77%, 65%)
CMYKcmyk(19.2%, 0%, 76.6%, 34.5%)
CIE-LABlab(64.11, -28.49, 57.99)
CIE-LCHlch(64.11, 64.61, 116.16°)
OKLaboklab(68.09% -0.0835 0.1281)
OKLCHoklch(68.09% 0.153 123.1)
XYZxyz(24.1769, 32.9347, 7.0024)
Luminance0.3293 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A727 #4727A7
analogous
#A78727 #87A727 #47A727
triadic
#87A727 #2787A7 #A72787
tetradic
#87A727 #27A787 #4727A7 #A72747
square
#87A727 #27A787 #4727A7 #A72747
split-complementary
#87A727 #2747A7 #8727A7
monochromatic
#374410 #5F751B #87A727 #ABD13A #C0DD6C

Accessibility & contrast

On white

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

On black

7.59
#87A727 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A727
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A727#FFFFFF#000000##000000
##87A7271.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C06
Deuteranopia (green-blind)
#AD9B33
Tritanopia (blue-blind)
#8E9E8F
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #87a727;
/* rgb */ color: rgb(135, 167, 39);
/* oklch */ color: oklch(68.1% 0.153 123.1);
Tailwind
colors: {
  custom: {
    50: '#aec16c',
    500: '#87a727',
    950: '#000000',
  },
}
SCSS
$custom: #87a727;
$custom-light: #aec16c;
$custom-dark: #000000;
JSON
{
  "hex": "#87a727",
  "rgb": {
    "r": 135,
    "g": 167,
    "b": 39
  },
  "hsl": {
    "h": 75,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.6809,
    "c": 0.15286,
    "h": 123.1
  },
  "luminance": 0.32935
}

Semantic roles & 50–950 ramp

primary
#87A727
secondary
#7E67C3
accent
#43E56B
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #87A727

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

Preview Lab → · Contrast checker → · Palette generator →

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