#AFC987 Color Information

Hex color code: #AFC987

The hex color #AFC987 is a delicate green with RGB values of (175, 201, 135) and HSL of (84°, 38%, 66%). It is widely used in graphic design.

Try:
Color NameDark Sea Green
HEX
#AFC987
RGB
175, 201, 135
HSL
84°, 38%, 66%
CMYK
13%, 0%, 33%, 21%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #AFC987; 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 #AFC987; background-color: #AFC98715; }

Alert / Toast

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

Link / Accent

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

a { color: #AFC987; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #AFC987 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 201, 135

Red: 175 / Green: 201 / Blue: 135

HSL

84°, 38%, 66%

Hue: 84° / Saturation: 38% / Lightness: 66%

CMYK

13%, 0%, 33%, 21%

Cyan: 13% / Magenta: 0% / Yellow: 33% / Key: 21%

What color is #AFC987?

#AFC987 is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFC987 to RGB:

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

HEX to HSL

Convert #AFC987 to HSL:

hsl(84, 38%, 66%)RGB to HSL Converter →

HEX to CMYK

Convert #AFC987 to CMYK:

cmyk(13%, 0%, 33%, 21%)Color Converter →

Color Meaning and Usage

A soft green tone, #AFC987 has RGB (175, 201, 135) and HSL (84°, 38%, 66%). Known for evoking nature and harmony, this green hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AFC987 is #A287C9, creating high-contrast pairings. For softer combinations, try analogous colors like #C9C387.

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

Contrast with #AFC987

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFC987?

#AFC987 is a soft green color - a green hue that evokes nature and harmony.

What is the RGB value of #AFC987?

#AFC987 in RGB is (175, 201, 135) - 175 red, 201 green, and 135 blue.

How to use #AFC987 in CSS?

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

What colors go well with #AFC987?

#A287C9 (complementary), #C9C387 (analogous), and #8CB253 (lighter shade) work well with #AFC987.