#87AE28#87AE28

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

Color values

HEX#87AE28
RGBrgb(135, 174, 40)
HSLhsl(77, 63%, 42%)
HSVhsv(77, 77%, 68%)
CMYKcmyk(22.4%, 0%, 77%, 31.8%)
CIE-LABlab(66.19, -31.76, 59.62)
CIE-LCHlch(66.19, 67.55, 118.04°)
OKLaboklab(69.78% -0.0923 0.1317)
OKLCHoklch(69.78% 0.161 125)
XYZxyz(25.5110, 35.5759, 7.5299)
Luminance0.3558 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AE28 #4F28AE
analogous
#AE9228 #87AE28 #44AE28
triadic
#87AE28 #2887AE #AE2887
tetradic
#87AE28 #28AE92 #4F28AE #AE2844
square
#87AE28 #28AE92 #4F28AE #AE2844
split-complementary
#87AE28 #2844AE #9228AE
monochromatic
#3A4A11 #607C1D #87AE28 #A8D340 #BFDF72

Accessibility & contrast

On white

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

On black

8.12
#87AE28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AE28
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AE28#FFFFFF#000000##000000
##87AE281.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87ae28;
/* rgb */ color: rgb(135, 174, 40);
/* oklch */ color: oklch(69.8% 0.161 125.0);
Tailwind
colors: {
  custom: {
    50: '#aec66d',
    500: '#87ae28',
    950: '#000000',
  },
}
SCSS
$custom: #87ae28;
$custom-light: #aec66d;
$custom-dark: #000000;
JSON
{
  "hex": "#87ae28",
  "rgb": {
    "r": 135,
    "g": 174,
    "b": 40
  },
  "hsl": {
    "h": 77.463,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.6978,
    "c": 0.16081,
    "h": 125
  },
  "luminance": 0.35576
}

Semantic roles & 50–950 ramp

primary
#87AE28
secondary
#866CC6
accent
#42E672
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111308
muted
#80827B

Preview Lab

Preview with #87AE28

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

Preview Lab → · Contrast checker → · Palette generator →

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