#405F30 Color Information

Hex color code: #405F30

The hex color #405F30 is a gentle green with RGB values of (64, 95, 48) and HSL of (100°, 33%, 28%). It is often used for branding and logos.

Try:
Color NameDark Olive Green
HEX
#405F30
RGB
64, 95, 48
HSL
100°, 33%, 28%
CMYK
33%, 0%, 49%, 63%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #405F30; 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 #405F30; background-color: #405F3015; }

Alert / Toast

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

Link / Accent

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

a { color: #405F30; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #405F30 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 95, 48

Red: 64 / Green: 95 / Blue: 48

HSL

100°, 33%, 28%

Hue: 100° / Saturation: 33% / Lightness: 28%

CMYK

33%, 0%, 49%, 63%

Cyan: 33% / Magenta: 0% / Yellow: 49% / Key: 63%

What color is #405F30?

#405F30 is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #405F30 to RGB:

rgb(64, 95, 48)HEX to RGB Converter →

HEX to HSL

Convert #405F30 to HSL:

hsl(100, 33%, 28%)RGB to HSL Converter →

HEX to CMYK

Convert #405F30 to CMYK:

cmyk(33%, 0%, 49%, 63%)Color Converter →

Color Meaning and Usage

#405F30 is a soft green color with RGB values of 64, 95, 48 and HSL of 100°, 33%, 28%. 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 #405F30 is #4F305F, creating high-contrast pairings. For softer combinations, try analogous colors like #575F30.

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

Contrast with #405F30

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #405F30?

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

What is the RGB value of #405F30?

#405F30 in RGB is (64, 95, 48) - 64 red, 95 green, and 48 blue.

How to use #405F30 in CSS?

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

What colors go well with #405F30?

#4F305F (complementary), #575F30 (analogous), and #1E2C16 (lighter shade) work well with #405F30.