#87AD31#87AD31

#87AD31 is a light, vivid yellow-green. Relative luminance 0.353; OKLCH L 69.6% C 0.154 H 125.2°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#87AD31
RGBrgb(135, 173, 49)
HSLhsl(78, 56%, 44%)
HSVhsv(78, 72%, 68%)
CMYKcmyk(22%, 0%, 71.7%, 32.2%)
CIE-LABlab(65.95, -30.80, 56.26)
CIE-LCHlch(65.95, 64.14, 118.70°)
OKLaboklab(69.6% -0.0889 0.1261)
OKLCHoklch(69.6% 0.154 125.2)
XYZxyz(25.4898, 35.2595, 8.3680)
Luminance0.3526 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AD31 #5731AD
analogous
#AD9531 #87AD31 #49AD31
triadic
#87AD31 #3187AD #AD3187
tetradic
#87AD31 #31AD95 #5731AD #AD3149
square
#87AD31 #31AD95 #5731AD #AD3149
split-complementary
#87AD31 #3149AD #9531AD
monochromatic
#3D4E16 #627D23 #87AD31 #A6CD4E #BEDA7E

Accessibility & contrast

On white

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

On black

8.05
#87AD31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AD31
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AD31#FFFFFF#000000##000000
##87AD311.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A21B
Deuteranopia (green-blind)
#B1A03C
Tritanopia (blue-blind)
#8DA595
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #87ad31;
/* rgb */ color: rgb(135, 173, 49);
/* oklch */ color: oklch(69.6% 0.154 125.2);
Tailwind
colors: {
  custom: {
    50: '#adc571',
    500: '#87ad31',
    950: '#000000',
  },
}
SCSS
$custom: #87ad31;
$custom-light: #adc571;
$custom-dark: #000000;
JSON
{
  "hex": "#87ad31",
  "rgb": {
    "r": 135,
    "g": 173,
    "b": 49
  },
  "hsl": {
    "h": 78.387,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.69599,
    "c": 0.15428,
    "h": 125.2
  },
  "luminance": 0.3526
}

Semantic roles & 50–950 ramp

primary
#87AD31
secondary
#8E77C3
accent
#49DF77
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #87AD31

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

Preview Lab → · Contrast checker → · Palette generator →

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