#406845 Color Information

Hex color code: #406845

#406845 is a delicate green color. In RGB it is (64, 104, 69), and in HSL it is (128°, 24%, 33%). It is widely used in graphic design.

Try:
Color NameDark Olive Green
HEX
#406845
RGB
64, 104, 69
HSL
128°, 24%, 33%
CMYK
38%, 0%, 34%, 59%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #406845; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 104, 69

Red: 64 / Green: 104 / Blue: 69

HSL

128°, 24%, 33%

Hue: 128° / Saturation: 24% / Lightness: 33%

CMYK

38%, 0%, 34%, 59%

Cyan: 38% / Magenta: 0% / Yellow: 34% / Key: 59%

What color is #406845?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #406845 to RGB:

rgb(64, 104, 69)HEX to RGB Converter →

HEX to HSL

Convert #406845 to HSL:

hsl(128, 24%, 33%)RGB to HSL Converter →

HEX to CMYK

Convert #406845 to CMYK:

cmyk(38%, 0%, 34%, 59%)Color Converter →

Color Meaning and Usage

A soft green tone, #406845 has RGB (64, 104, 69) and HSL (128°, 24%, 33%). 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 #406845 is #684063, creating high-contrast pairings. For softer combinations, try analogous colors like #4F6840.

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

Contrast with #406845

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #406845?

#406845 is a soft green color - a green hue that evokes nature and harmony.

What is the RGB value of #406845?

#406845 in RGB is (64, 104, 69) - 64 red, 104 green, and 69 blue.

How to use #406845 in CSS?

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

What colors go well with #406845?

#684063 (complementary), #4F6840 (analogous), and #233926 (lighter shade) work well with #406845.