#87A72A#87A72A

#87A72A is a light, vivid yellow-green. Relative luminance 0.330; OKLCH L 68.1% C 0.151 H 123.2°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#87A72A
RGBrgb(135, 167, 42)
HSLhsl(75, 60%, 41%)
HSVhsv(75, 75%, 65%)
CMYKcmyk(19.2%, 0%, 74.9%, 34.5%)
CIE-LABlab(64.12, -28.34, 56.99)
CIE-LCHlch(64.12, 63.65, 116.44°)
OKLaboklab(68.11% -0.0828 0.1265)
OKLCHoklch(68.11% 0.151 123.2)
XYZxyz(24.2286, 32.9554, 7.2746)
Luminance0.3296 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A72A #4A2AA7
analogous
#A7882A #87A72A #48A72A
triadic
#87A72A #2A87A7 #A72A87
tetradic
#87A72A #2AA788 #4A2AA7 #A72A48
square
#87A72A #2AA788 #4A2AA7 #A72A48
split-complementary
#87A72A #2A48A7 #882AA7
monochromatic
#384511 #5F761E #87A72A #AACF3F #C0DB70

Accessibility & contrast

On white

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

On black

7.59
#87A72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A72A
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A72A#FFFFFF#000000##000000
##87A72A1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87a72a;
/* rgb */ color: rgb(135, 167, 42);
/* oklch */ color: oklch(68.1% 0.151 123.2);
Tailwind
colors: {
  custom: {
    50: '#adc16d',
    500: '#87a72a',
    950: '#000000',
  },
}
SCSS
$custom: #87a72a;
$custom-light: #adc16d;
$custom-dark: #000000;
JSON
{
  "hex": "#87a72a",
  "rgb": {
    "r": 135,
    "g": 167,
    "b": 42
  },
  "hsl": {
    "h": 75.36,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68109,
    "c": 0.15115,
    "h": 123.2
  },
  "luminance": 0.32955
}

Semantic roles & 50–950 ramp

primary
#87A72A
secondary
#816BC2
accent
#45E36D
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #87A72A

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

Preview Lab → · Contrast checker → · Palette generator →

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