#406440 Color Information

Hex color code: #406440

A soft green shade, #406440 appears as (64, 100, 64) in RGB and (120°, 22%, 32%) in HSL. It is widely used in graphic design.

Try:
Color NameDark Olive Green
HEX
#406440
RGB
64, 100, 64
HSL
120°, 22%, 32%
CMYK
36%, 0%, 36%, 61%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #406440; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 100, 64

Red: 64 / Green: 100 / Blue: 64

HSL

120°, 22%, 32%

Hue: 120° / Saturation: 22% / Lightness: 32%

CMYK

36%, 0%, 36%, 61%

Cyan: 36% / Magenta: 0% / Yellow: 36% / Key: 61%

What color is #406440?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #406440 to RGB:

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

HEX to HSL

Convert #406440 to HSL:

hsl(120, 22%, 32%)RGB to HSL Converter →

HEX to CMYK

Convert #406440 to CMYK:

cmyk(36%, 0%, 36%, 61%)Color Converter →

Color Meaning and Usage

A pastel green tone, #406440 has RGB (64, 100, 64) and HSL (120°, 22%, 32%). Known for evoking nature and harmony, this green hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #406440 is #644064, creating high-contrast pairings. For softer combinations, try analogous colors like #526440.

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

Contrast with #406440

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #406440?

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

What is the RGB value of #406440?

#406440 in RGB is (64, 100, 64) - 64 red, 100 green, and 64 blue.

How to use #406440 in CSS?

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

What colors go well with #406440?

#644064 (complementary), #526440 (analogous), and #223522 (lighter shade) work well with #406440.