#AFD791 Color Information

Hex color code: #AFD791

The hex color #AFD791 is a soft green with RGB values of (175, 215, 145) and HSL of (94°, 47%, 71%). It is typically applied in digital products.

Try:
Color NameDark Sea Green
HEX
#AFD791
RGB
175, 215, 145
HSL
94°, 47%, 71%
CMYK
19%, 0%, 33%, 16%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AFD791; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 215, 145

Red: 175 / Green: 215 / Blue: 145

HSL

94°, 47%, 71%

Hue: 94° / Saturation: 47% / Lightness: 71%

CMYK

19%, 0%, 33%, 16%

Cyan: 19% / Magenta: 0% / Yellow: 33% / Key: 16%

What color is #AFD791?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFD791 to RGB:

rgb(175, 215, 145)HEX to RGB Converter →

HEX to HSL

Convert #AFD791 to HSL:

hsl(94, 47%, 71%)RGB to HSL Converter →

HEX to CMYK

Convert #AFD791 to CMYK:

cmyk(19%, 0%, 33%, 16%)Color Converter →

Color Meaning and Usage

#AFD791 is a soft green color with RGB values of 175, 215, 145 and HSL of 94°, 47%, 71%. This green hue evokes nature and harmony, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AFD791 is #BA92D8, creating high-contrast pairings. For softer combinations, try analogous colors like #D3D892.

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

Contrast with #AFD791

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFD791?

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

What is the RGB value of #AFD791?

#AFD791 in RGB is (175, 215, 145) - 175 red, 215 green, and 145 blue.

How to use #AFD791 in CSS?

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

What colors go well with #AFD791?

#BA92D8 (complementary), #D3D892 (analogous), and #88C45A (lighter shade) work well with #AFD791.