#87AE21#87AE21

#87AE21 is a light, vivid yellow-green. Relative luminance 0.355; OKLCH L 69.7% C 0.164 H 124.8°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#87AE21
RGBrgb(135, 174, 33)
HSLhsl(77, 68%, 41%)
HSVhsv(77, 81%, 68%)
CMYKcmyk(22.4%, 0%, 81%, 31.8%)
CIE-LABlab(66.16, -32.07, 61.69)
CIE-LCHlch(66.16, 69.53, 117.47°)
OKLaboklab(69.74% -0.0937 0.1349)
OKLCHoklch(69.74% 0.164 124.8)
XYZxyz(25.4025, 35.5325, 6.9587)
Luminance0.3553 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AE21 #4821AE
analogous
#AE8E21 #87AE21 #40AE21
triadic
#87AE21 #2187AE #AE2187
tetradic
#87AE21 #21AE8E #4821AE #AE2140
square
#87AE21 #21AE8E #4821AE #AE2140
split-complementary
#87AE21 #2140AE #8E21AE
monochromatic
#37470D #5F7B17 #87AE21 #ABD834 #C0E267

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87AE21#FFFFFF#000000##000000
##87AE211.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)
#B3A030
Tritanopia (blue-blind)
#8EA595
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #87ae21;
/* rgb */ color: rgb(135, 174, 33);
/* oklch */ color: oklch(69.7% 0.164 124.8);
Tailwind
colors: {
  custom: {
    50: '#aec66a',
    500: '#87ae21',
    950: '#000000',
  },
}
SCSS
$custom: #87ae21;
$custom-light: #aec66a;
$custom-dark: #000000;
JSON
{
  "hex": "#87ae21",
  "rgb": {
    "r": 135,
    "g": 174,
    "b": 33
  },
  "hsl": {
    "h": 76.596,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.69743,
    "c": 0.16423,
    "h": 124.8
  },
  "luminance": 0.35533
}

Semantic roles & 50–950 ramp

primary
#87AE21
secondary
#7F63C8
accent
#3DEB6D
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #87AE21

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

Preview Lab → · Contrast checker → · Palette generator →

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