#87A422#87A422

#87A422 is a light, vivid yellow-green. Relative luminance 0.318; OKLCH L 67.3% C 0.152 H 122.0°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#87A422
RGBrgb(135, 164, 34)
HSLhsl(73, 66%, 39%)
HSVhsv(73, 79%, 64%)
CMYKcmyk(17.7%, 0%, 79.3%, 35.7%)
CIE-LABlab(63.19, -27.27, 58.72)
CIE-LCHlch(63.19, 64.75, 114.91°)
OKLaboklab(67.34% -0.0805 0.1288)
OKLCHoklch(67.34% 0.152 122)
XYZxyz(23.5562, 31.8173, 6.4134)
Luminance0.3182 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A422 #3F22A4
analogous
#A48022 #87A422 #46A422
triadic
#87A422 #2287A4 #A42287
tetradic
#87A422 #22A480 #3F22A4 #A42246
square
#87A422 #22A480 #3F22A4 #A42246
split-complementary
#87A422 #2246A4 #8022A4
monochromatic
#343F0D #5D7117 #87A422 #AFD42F #C3DE62

Accessibility & contrast

On white

2.85
#87A422 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#87A422 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A422
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A422#FFFFFF#000000##000000
##87A4221.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A00
Deuteranopia (green-blind)
#AB992F
Tritanopia (blue-blind)
#8F9B8C
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #87a422;
/* rgb */ color: rgb(135, 164, 34);
/* oklch */ color: oklch(67.3% 0.152 122.0);
Tailwind
colors: {
  custom: {
    50: '#aebf69',
    500: '#87a422',
    950: '#000000',
  },
}
SCSS
$custom: #87a422;
$custom-light: #aebf69;
$custom-dark: #000000;
JSON
{
  "hex": "#87a422",
  "rgb": {
    "r": 135,
    "g": 164,
    "b": 34
  },
  "hsl": {
    "h": 73.385,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.67341,
    "c": 0.15186,
    "h": 122
  },
  "luminance": 0.31817
}

Semantic roles & 50–950 ramp

primary
#87A422
secondary
#755EC4
accent
#3FE965
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #87A422

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

Preview Lab → · Contrast checker → · Palette generator →

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