#40BD40 Color Information

Hex color code: #40BD40

A gentle green shade, #40BD40 appears as (64, 189, 64) in RGB and (120°, 49%, 50%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameMedium Sea Green
HEX
#40BD40
RGB
64, 189, 64
HSL
120°, 49%, 50%
CMYK
66%, 0%, 66%, 26%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #40BD40; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 189, 64

Red: 64 / Green: 189 / Blue: 64

HSL

120°, 49%, 50%

Hue: 120° / Saturation: 49% / Lightness: 50%

CMYK

66%, 0%, 66%, 26%

Cyan: 66% / Magenta: 0% / Yellow: 66% / Key: 26%

What color is #40BD40?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #40BD40 to RGB:

rgb(64, 189, 64)HEX to RGB Converter →

HEX to HSL

Convert #40BD40 to HSL:

hsl(120, 49%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #40BD40 to CMYK:

cmyk(66%, 0%, 66%, 26%)Color Converter →

Color Meaning and Usage

#40BD40 is a pastel green color with RGB values of 64, 189, 64 and HSL of 120°, 49%, 50%. 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 #40BD40 is #BE41BE, creating high-contrast pairings. For softer combinations, try analogous colors like #80BE41.

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

Contrast with #40BD40

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #40BD40?

#40BD40 is a pastel green color - a green hue that evokes nature and harmony.

What is the RGB value of #40BD40?

#40BD40 in RGB is (64, 189, 64) - 64 red, 189 green, and 64 blue.

How to use #40BD40 in CSS?

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

What colors go well with #40BD40?

#BE41BE (complementary), #80BE41 (analogous), and #2E852E (lighter shade) work well with #40BD40.