#407939 Color Information

Hex color code: #407939

#407939 is a soft green color. In RGB it is (64, 121, 57), and in HSL it is (113°, 36%, 35%). It is typically applied in digital products.

Try:
Color NameDark Olive Green
HEX
#407939
RGB
64, 121, 57
HSL
113°, 36%, 35%
CMYK
47%, 0%, 53%, 53%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #407939; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #407939; color: #FFFFFF; }

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 #407939; background-color: #40793915; }

Alert / Toast

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

Link / Accent

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

a { color: #407939; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 121, 57

Red: 64 / Green: 121 / Blue: 57

HSL

113°, 36%, 35%

Hue: 113° / Saturation: 36% / Lightness: 35%

CMYK

47%, 0%, 53%, 53%

Cyan: 47% / Magenta: 0% / Yellow: 53% / Key: 53%

What color is #407939?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #407939 to RGB:

rgb(64, 121, 57)HEX to RGB Converter →

HEX to HSL

Convert #407939 to HSL:

hsl(113, 36%, 35%)RGB to HSL Converter →

HEX to CMYK

Convert #407939 to CMYK:

cmyk(47%, 0%, 53%, 53%)Color Converter →

Color Meaning and Usage

#407939 is a pastel green color with RGB values of 64, 121, 57 and HSL of 113°, 36%, 35%. This green hue evokes nature and harmony, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #407939 is #723979, creating high-contrast pairings. For softer combinations, try analogous colors like #617939.

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

Contrast with #407939

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

Contrast Ratio: 4.01:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #407939?

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

What is the RGB value of #407939?

#407939 in RGB is (64, 121, 57) - 64 red, 121 green, and 57 blue.

How to use #407939 in CSS?

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

What colors go well with #407939?

#723979 (complementary), #617939 (analogous), and #254521 (lighter shade) work well with #407939.