#AFE22D Color Information

Hex color code: #AFE22D

The hex color #AFE22D is a striking green with RGB values of (175, 226, 45) and HSL of (77°, 76%, 53%). It is often used for branding and logos.

Try:
Color NameGreen Yellow
HEX
#AFE22D
RGB
175, 226, 45
HSL
77°, 76%, 53%
CMYK
23%, 0%, 80%, 11%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AFE22D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 226, 45

Red: 175 / Green: 226 / Blue: 45

HSL

77°, 76%, 53%

Hue: 77° / Saturation: 76% / Lightness: 53%

CMYK

23%, 0%, 80%, 11%

Cyan: 23% / Magenta: 0% / Yellow: 80% / Key: 11%

What color is #AFE22D?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFE22D to RGB:

rgb(175, 226, 45)HEX to RGB Converter →

HEX to HSL

Convert #AFE22D to HSL:

hsl(77, 76%, 53%)RGB to HSL Converter →

HEX to CMYK

Convert #AFE22D to CMYK:

cmyk(23%, 0%, 80%, 11%)Color Converter →

Color Meaning and Usage

#AFE22D is a vivid green color with RGB values of 175, 226, 45 and HSL of 77°, 76%, 53%. 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 #AFE22D is #602CE2, creating high-contrast pairings. For softer combinations, try analogous colors like #E2BB2C.

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

Contrast with #AFE22D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFE22D?

#AFE22D is a vivid green color - a green hue that evokes nature and harmony.

What is the RGB value of #AFE22D?

#AFE22D in RGB is (175, 226, 45) - 175 red, 226 green, and 45 blue.

How to use #AFE22D in CSS?

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

What colors go well with #AFE22D?

#602CE2 (complementary), #E2BB2C (analogous), and #81AB17 (lighter shade) work well with #AFE22D.