#AFE240 Color Information

Hex color code: #AFE240

#AFE240 is a vivid green color. In RGB it is (175, 226, 64), and in HSL it is (79°, 74%, 57%). It is commonly used in modern UI design.

Try:
Color NameYellow Green
HEX
#AFE240
RGB
175, 226, 64
HSL
79°, 74%, 57%
CMYK
23%, 0%, 72%, 11%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AFE240; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 226, 64

Red: 175 / Green: 226 / Blue: 64

HSL

79°, 74%, 57%

Hue: 79° / Saturation: 74% / Lightness: 57%

CMYK

23%, 0%, 72%, 11%

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

What color is #AFE240?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFE240 to RGB:

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

HEX to HSL

Convert #AFE240 to HSL:

hsl(79, 74%, 57%)RGB to HSL Converter →

HEX to CMYK

Convert #AFE240 to CMYK:

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

Color Meaning and Usage

#AFE240 is a dynamic green color with RGB values of 175, 226, 64 and HSL of 79°, 74%, 57%. This green hue evokes nature and harmony, making it suitable for popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AFE240 is #7440E2, creating high-contrast pairings. For softer combinations, try analogous colors like #E2C540.

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

Contrast with #AFE240

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFE240?

#AFE240 is a dynamic green color - a green hue that evokes nature and harmony.

What is the RGB value of #AFE240?

#AFE240 in RGB is (175, 226, 64) - 175 red, 226 green, and 64 blue.

How to use #AFE240 in CSS?

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

What colors go well with #AFE240?

#7440E2 (complementary), #E2C540 (analogous), and #88BA1C (lighter shade) work well with #AFE240.