#87AF4B Color Information

Hex color code: #87AF4B

The hex color #87AF4B is a soft green with RGB values of (135, 175, 75) and HSL of (84°, 40%, 49%). It is typically applied in digital products.

Try:
Color NameYellow Green
HEX
#87AF4B
RGB
135, 175, 75
HSL
84°, 40%, 49%
CMYK
23%, 0%, 57%, 31%

Shades

CSS Usage
color: #87AF4B;
background-color: #87AF4B;
border-color: #87AF4B;
box-shadow: 0 0 10px #87AF4B;
border: 2px solid #87AF4B;
Tailwind Usage
bg-[#87AF4B]
text-[#87AF4B]
border-[#87AF4B]
shadow-[0_0_10px_87AF4B]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #87AF4B, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #87AF4B; color: #000000; }

Badge

New Feature
.badge { background-color: #87AF4B; color: #000000; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #87AF4B; background-color: #87AF4B15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #87AF4B20; border-left: 4px solid #87AF4B; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #87AF4B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #87AF4B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

135, 175, 75

Red: 135 / Green: 175 / Blue: 75

HSL

84°, 40%, 49%

Hue: 84° / Saturation: 40% / Lightness: 49%

CMYK

23%, 0%, 57%, 31%

Cyan: 23% / Magenta: 0% / Yellow: 57% / Key: 31%

What color is #87AF4B?

#87AF4B is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #87AF4B to RGB:

rgb(135, 175, 75)HEX to RGB Converter →

HEX to HSL

Convert #87AF4B to HSL:

hsl(84, 40%, 49%)RGB to HSL Converter →

HEX to CMYK

Convert #87AF4B to CMYK:

cmyk(23%, 0%, 57%, 31%)Color Converter →

Color Meaning and Usage

#87AF4B is a pastel green color with RGB values of 135, 175, 75 and HSL of 84°, 40%, 49%. This green hue evokes nature and harmony, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #87AF4B is #734BAF, creating high-contrast pairings. For softer combinations, try analogous colors like #AFA54B.

Use #87AF4B in CSS: color: #87AF4B or background-color: #87AF4B. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #87AF4B

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 8.26:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #87AF4B?

#87AF4B is a pastel green color - a green hue that evokes nature and harmony.

What is the RGB value of #87AF4B?

#87AF4B in RGB is (135, 175, 75) - 135 red, 175 green, and 75 blue.

How to use #87AF4B in CSS?

Use #87AF4B directly in your CSS properties like color or background-color.

What colors go well with #87AF4B?

#734BAF (complementary), #AFA54B (analogous), and #5E7934 (lighter shade) work well with #87AF4B.