#87AE27#87AE27

#87AE27 is a light, vivid yellow-green. Relative luminance 0.356; OKLCH L 69.8% C 0.161 H 125.0°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#87AE27
RGBrgb(135, 174, 39)
HSLhsl(77, 63%, 42%)
HSVhsv(77, 78%, 68%)
CMYKcmyk(22.4%, 0%, 77.6%, 31.8%)
CIE-LABlab(66.19, -31.81, 59.94)
CIE-LCHlch(66.19, 67.85, 117.96°)
OKLaboklab(69.77% -0.0925 0.1322)
OKLCHoklch(69.77% 0.161 125)
XYZxyz(25.4942, 35.5692, 7.4415)
Luminance0.3557 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AE27 #4E27AE
analogous
#AE9227 #87AE27 #44AE27
triadic
#87AE27 #2787AE #AE2787
tetradic
#87AE27 #27AE92 #4E27AE #AE2744
square
#87AE27 #27AE92 #4E27AE #AE2744
split-complementary
#87AE27 #2744AE #9227AE
monochromatic
#394A11 #607C1C #87AE27 #A9D43E #BFDF70

Accessibility & contrast

On white

2.59
#87AE27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#87AE27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AE27
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AE27#FFFFFF#000000##000000
##87AE271.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B3A035
Tritanopia (blue-blind)
#8DA595
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #87ae27;
/* rgb */ color: rgb(135, 174, 39);
/* oklch */ color: oklch(69.8% 0.161 125.0);
Tailwind
colors: {
  custom: {
    50: '#aec66c',
    500: '#87ae27',
    950: '#000000',
  },
}
SCSS
$custom: #87ae27;
$custom-light: #aec66c;
$custom-dark: #000000;
JSON
{
  "hex": "#87ae27",
  "rgb": {
    "r": 135,
    "g": 174,
    "b": 39
  },
  "hsl": {
    "h": 77.333,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69774,
    "c": 0.16133,
    "h": 125
  },
  "luminance": 0.35569
}

Semantic roles & 50–950 ramp

primary
#87AE27
secondary
#856BC6
accent
#41E671
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111308
muted
#80827B

Preview Lab

Preview with #87AE27

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

Preview Lab → · Contrast checker → · Palette generator →

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