#87AA2A#87AA2A

#87AA2A is a light, vivid yellow-green. Relative luminance 0.341; OKLCH L 68.8% C 0.155 H 124.1°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#87AA2A
RGBrgb(135, 170, 42)
HSLhsl(76, 60%, 42%)
HSVhsv(76, 75%, 67%)
CMYKcmyk(20.6%, 0%, 75.3%, 33.3%)
CIE-LABlab(65.02, -29.77, 57.84)
CIE-LCHlch(65.02, 65.06, 117.23°)
OKLaboklab(68.83% -0.0867 0.1283)
OKLCHoklch(68.83% 0.155 124.1)
XYZxyz(24.7846, 34.0673, 7.4600)
Luminance0.3407 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AA2A #4D2AAA
analogous
#AA8D2A #87AA2A #47AA2A
triadic
#87AA2A #2A87AA #AA2A87
tetradic
#87AA2A #2AAA8D #4D2AAA #AA2A47
square
#87AA2A #2AAA8D #4D2AAA #AA2A47
split-complementary
#87AA2A #2A47AA #8D2AAA
monochromatic
#394812 #60791E #87AA2A #A9D041 #BFDC72

Accessibility & contrast

On white

2.69
#87AA2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#87AA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AA2A
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AA2A#FFFFFF#000000##000000
##87AA2A1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F0D
Deuteranopia (green-blind)
#AF9D36
Tritanopia (blue-blind)
#8EA192
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #87aa2a;
/* rgb */ color: rgb(135, 170, 42);
/* oklch */ color: oklch(68.8% 0.155 124.1);
Tailwind
colors: {
  custom: {
    50: '#aec36d',
    500: '#87aa2a',
    950: '#000000',
  },
}
SCSS
$custom: #87aa2a;
$custom-light: #aec36d;
$custom-dark: #000000;
JSON
{
  "hex": "#87aa2a",
  "rgb": {
    "r": 135,
    "g": 170,
    "b": 42
  },
  "hsl": {
    "h": 76.406,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.68829,
    "c": 0.15483,
    "h": 124.1
  },
  "luminance": 0.34068
}

Semantic roles & 50–950 ramp

primary
#87AA2A
secondary
#846CC3
accent
#44E470
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111208
muted
#80817B

Preview Lab

Preview with #87AA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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