#87AA31#87AA31

#87AA31 is a light, vivid yellow-green. Relative luminance 0.341; OKLCH L 68.9% C 0.151 H 124.4°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#87AA31
RGBrgb(135, 170, 49)
HSLhsl(77, 55%, 43%)
HSVhsv(77, 71%, 67%)
CMYKcmyk(20.6%, 0%, 71.2%, 33.3%)
CIE-LABlab(65.06, -29.37, 55.37)
CIE-LCHlch(65.06, 62.68, 117.94°)
OKLaboklab(68.88% -0.085 0.1242)
OKLCHoklch(68.88% 0.151 124.4)
XYZxyz(24.9210, 34.1219, 8.1784)
Luminance0.3412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AA31 #5431AA
analogous
#AA9031 #87AA31 #4BAA31
triadic
#87AA31 #3187AA #AA3187
tetradic
#87AA31 #31AA90 #5431AA #AA314B
square
#87AA31 #31AA90 #5431AA #AA314B
split-complementary
#87AA31 #314BAA #9031AA
monochromatic
#3C4B16 #617A23 #87AA31 #A7CC4D #BED97C

Accessibility & contrast

On white

2.68
#87AA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#87AA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AA31
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AA31#FFFFFF#000000##000000
##87AA311.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F1D
Deuteranopia (green-blind)
#AF9E3B
Tritanopia (blue-blind)
#8DA292
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #87aa31;
/* rgb */ color: rgb(135, 170, 49);
/* oklch */ color: oklch(68.9% 0.151 124.4);
Tailwind
colors: {
  custom: {
    50: '#adc371',
    500: '#87aa31',
    950: '#000000',
  },
}
SCSS
$custom: #87aa31;
$custom-light: #adc371;
$custom-dark: #000000;
JSON
{
  "hex": "#87aa31",
  "rgb": {
    "r": 135,
    "g": 170,
    "b": 49
  },
  "hsl": {
    "h": 77.355,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68878,
    "c": 0.15052,
    "h": 124.4
  },
  "luminance": 0.34122
}

Semantic roles & 50–950 ramp

primary
#87AA31
secondary
#8B75C2
accent
#49DF74
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111208
muted
#80817B

Preview Lab

Preview with #87AA31

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

Preview Lab → · Contrast checker → · Palette generator →

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