#405941 Color Information

Hex color code: #405941

A understated green shade, #405941 appears as (64, 89, 65) in RGB and (122°, 16%, 30%) in HSL. It is popular in mobile app design.

Try:
Color NameDark Slate Gray
HEX
#405941
RGB
64, 89, 65
HSL
122°, 16%, 30%
CMYK
28%, 0%, 27%, 65%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #405941; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 89, 65

Red: 64 / Green: 89 / Blue: 65

HSL

122°, 16%, 30%

Hue: 122° / Saturation: 16% / Lightness: 30%

CMYK

28%, 0%, 27%, 65%

Cyan: 28% / Magenta: 0% / Yellow: 27% / Key: 65%

What color is #405941?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #405941 to RGB:

rgb(64, 89, 65)HEX to RGB Converter →

HEX to HSL

Convert #405941 to HSL:

hsl(122, 16%, 30%)RGB to HSL Converter →

HEX to CMYK

Convert #405941 to CMYK:

cmyk(28%, 0%, 27%, 65%)Color Converter →

Color Meaning and Usage

A neutral green tone, #405941 has RGB (64, 89, 65) and HSL (122°, 16%, 30%). Known for evoking nature and harmony, this green hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #405941 is #594058, creating high-contrast pairings. For softer combinations, try analogous colors like #4C5940.

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

Contrast with #405941

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #405941?

#405941 is a neutral green color - a green hue that evokes nature and harmony.

What is the RGB value of #405941?

#405941 in RGB is (64, 89, 65) - 64 red, 89 green, and 65 blue.

How to use #405941 in CSS?

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

What colors go well with #405941?

#594058 (complementary), #4C5940 (analogous), and #202C21 (lighter shade) work well with #405941.