#87AA22#87AA22

#87AA22 is a light, vivid yellow-green. Relative luminance 0.340; OKLCH L 68.8% C 0.159 H 123.8°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#87AA22
RGBrgb(135, 170, 34)
HSLhsl(75, 67%, 40%)
HSVhsv(75, 80%, 67%)
CMYKcmyk(20.6%, 0%, 80%, 33.3%)
CIE-LABlab(64.97, -30.15, 60.34)
CIE-LCHlch(64.97, 67.45, 116.55°)
OKLaboklab(68.78% -0.0884 0.1322)
OKLCHoklch(68.78% 0.159 123.8)
XYZxyz(24.6554, 34.0156, 6.7798)
Luminance0.3402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AA22 #4522AA
analogous
#AA8922 #87AA22 #43AA22
triadic
#87AA22 #2287AA #AA2287
tetradic
#87AA22 #22AA89 #4522AA #AA2243
square
#87AA22 #22AA89 #4522AA #AA2243
split-complementary
#87AA22 #2243AA #8922AA
monochromatic
#36440E #5F7718 #87AA22 #ACD633 #C1E066

Accessibility & contrast

On white

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

On black

7.80
#87AA22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AA22
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AA22#FFFFFF#000000##000000
##87AA221.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#AF9D30
Tritanopia (blue-blind)
#8EA191
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #87aa22;
/* rgb */ color: rgb(135, 170, 34);
/* oklch */ color: oklch(68.8% 0.159 123.8);
Tailwind
colors: {
  custom: {
    50: '#aec36a',
    500: '#87aa22',
    950: '#000000',
  },
}
SCSS
$custom: #87aa22;
$custom-light: #aec36a;
$custom-dark: #000000;
JSON
{
  "hex": "#87aa22",
  "rgb": {
    "r": 135,
    "g": 170,
    "b": 34
  },
  "hsl": {
    "h": 75.441,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.68783,
    "c": 0.15901,
    "h": 123.8
  },
  "luminance": 0.34016
}

Semantic roles & 50–950 ramp

primary
#87AA22
secondary
#7C62C6
accent
#3EEA6A
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111207
muted
#80817A

Preview Lab

Preview with #87AA22

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

Preview Lab → · Contrast checker → · Palette generator →

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