#87A722#87A722

#87A722 is a light, vivid yellow-green. Relative luminance 0.329; OKLCH L 68.1% C 0.155 H 122.9°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#87A722
RGBrgb(135, 167, 34)
HSLhsl(74, 66%, 39%)
HSVhsv(74, 80%, 65%)
CMYKcmyk(19.2%, 0%, 79.6%, 34.5%)
CIE-LABlab(64.08, -28.72, 59.53)
CIE-LCHlch(64.08, 66.10, 115.75°)
OKLaboklab(68.06% -0.0845 0.1305)
OKLCHoklch(68.06% 0.155 122.9)
XYZxyz(24.0995, 32.9037, 6.5945)
Luminance0.3290 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A722 #4222A7
analogous
#A78522 #87A722 #45A722
triadic
#87A722 #2287A7 #A72287
tetradic
#87A722 #22A785 #4222A7 #A72245
square
#87A722 #22A785 #4222A7 #A72245
split-complementary
#87A722 #2245A7 #8522A7
monochromatic
#35410D #5E7418 #87A722 #AED531 #C2DF64

Accessibility & contrast

On white

2.77
#87A722 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#87A722 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A722
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A722#FFFFFF#000000##000000
##87A7221.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#AD9B30
Tritanopia (blue-blind)
#8E9E8F
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #87a722;
/* rgb */ color: rgb(135, 167, 34);
/* oklch */ color: oklch(68.1% 0.155 122.9);
Tailwind
colors: {
  custom: {
    50: '#aec169',
    500: '#87a722',
    950: '#000000',
  },
}
SCSS
$custom: #87a722;
$custom-light: #aec169;
$custom-dark: #000000;
JSON
{
  "hex": "#87a722",
  "rgb": {
    "r": 135,
    "g": 167,
    "b": 34
  },
  "hsl": {
    "h": 74.436,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.68062,
    "c": 0.15544,
    "h": 122.9
  },
  "luminance": 0.32904
}

Semantic roles & 50–950 ramp

primary
#87A722
secondary
#7860C5
accent
#3FE968
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #87A722

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

Preview Lab → · Contrast checker → · Palette generator →

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