#87AD2A#87AD2A

#87AD2A is a light, vivid yellow-green. Relative luminance 0.352; OKLCH L 69.6% C 0.159 H 124.9°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#87AD2A
RGBrgb(135, 173, 42)
HSLhsl(77, 61%, 42%)
HSVhsv(77, 76%, 68%)
CMYKcmyk(22%, 0%, 75.7%, 32.2%)
CIE-LABlab(65.91, -31.19, 58.69)
CIE-LCHlch(65.91, 66.47, 117.99°)
OKLaboklab(69.55% -0.0906 0.1301)
OKLCHoklch(69.55% 0.159 124.9)
XYZxyz(25.3534, 35.2049, 7.6496)
Luminance0.3520 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AD2A #502AAD
analogous
#AD922A #87AD2A #45AD2A
triadic
#87AD2A #2A87AD #AD2A87
tetradic
#87AD2A #2AAD92 #502AAD #AD2A45
square
#87AD2A #2AAD92 #502AAD #AD2A45
split-complementary
#87AD2A #2A45AD #922AAD
monochromatic
#3A4B12 #617C1E #87AD2A #A8D143 #BFDD74

Accessibility & contrast

On white

2.61
#87AD2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#87AD2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AD2A
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AD2A#FFFFFF#000000##000000
##87AD2A1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A10B
Deuteranopia (green-blind)
#B2A036
Tritanopia (blue-blind)
#8DA494
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #87ad2a;
/* rgb */ color: rgb(135, 173, 42);
/* oklch */ color: oklch(69.6% 0.159 124.9);
Tailwind
colors: {
  custom: {
    50: '#aec56e',
    500: '#87ad2a',
    950: '#000000',
  },
}
SCSS
$custom: #87ad2a;
$custom-light: #aec56e;
$custom-dark: #000000;
JSON
{
  "hex": "#87ad2a",
  "rgb": {
    "r": 135,
    "g": 173,
    "b": 42
  },
  "hsl": {
    "h": 77.405,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69551,
    "c": 0.1585,
    "h": 124.9
  },
  "luminance": 0.35205
}

Semantic roles & 50–950 ramp

primary
#87AD2A
secondary
#876EC5
accent
#44E472
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111308
muted
#80827B

Preview Lab

Preview with #87AD2A

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

Preview Lab → · Contrast checker → · Palette generator →

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