#40AC15 Color Information

Hex color code: #40AC15

#40AC15 is a striking green color. In RGB it is (64, 172, 21), and in HSL it is (103°, 78%, 38%). It is often used for branding and logos.

Try:
Color NameOlive Drab
HEX
#40AC15
RGB
64, 172, 21
HSL
103°, 78%, 38%
CMYK
63%, 0%, 88%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #40AC15; 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 #40AC15; background-color: #40AC1515; }

Alert / Toast

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

Link / Accent

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

a { color: #40AC15; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #40AC15 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 172, 21

Red: 64 / Green: 172 / Blue: 21

HSL

103°, 78%, 38%

Hue: 103° / Saturation: 78% / Lightness: 38%

CMYK

63%, 0%, 88%, 33%

Cyan: 63% / Magenta: 0% / Yellow: 88% / Key: 33%

What color is #40AC15?

#40AC15 is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #40AC15 to RGB:

rgb(64, 172, 21)HEX to RGB Converter →

HEX to HSL

Convert #40AC15 to HSL:

hsl(103, 78%, 38%)RGB to HSL Converter →

HEX to CMYK

Convert #40AC15 to CMYK:

cmyk(63%, 0%, 88%, 33%)Color Converter →

Color Meaning and Usage

#40AC15 is a bold green color with RGB values of 64, 172, 21 and HSL of 103°, 78%, 38%. This green hue evokes nature and harmony, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #40AC15 is #8215AC, creating high-contrast pairings. For softer combinations, try analogous colors like #8CAC15.

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

Contrast with #40AC15

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #40AC15?

#40AC15 is a bold green color - a green hue that evokes nature and harmony.

What is the RGB value of #40AC15?

#40AC15 in RGB is (64, 172, 21) - 64 red, 172 green, and 21 blue.

How to use #40AC15 in CSS?

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

What colors go well with #40AC15?

#8215AC (complementary), #8CAC15 (analogous), and #27680D (lighter shade) work well with #40AC15.