#407218 Color Information

Hex color code: #407218

#407218 is a neutral green color. In RGB it is (64, 114, 24), and in HSL it is (93°, 65%, 27%). It is commonly used in modern UI design.

Try:
Color NameDark Olive Green
HEX
#407218
RGB
64, 114, 24
HSL
93°, 65%, 27%
CMYK
44%, 0%, 79%, 55%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #407218; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 114, 24

Red: 64 / Green: 114 / Blue: 24

HSL

93°, 65%, 27%

Hue: 93° / Saturation: 65% / Lightness: 27%

CMYK

44%, 0%, 79%, 55%

Cyan: 44% / Magenta: 0% / Yellow: 79% / Key: 55%

What color is #407218?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #407218 to RGB:

rgb(64, 114, 24)HEX to RGB Converter →

HEX to HSL

Convert #407218 to HSL:

hsl(93, 65%, 27%)RGB to HSL Converter →

HEX to CMYK

Convert #407218 to CMYK:

cmyk(44%, 0%, 79%, 55%)Color Converter →

Color Meaning and Usage

#407218 is a neutral green color with RGB values of 64, 114, 24 and HSL of 93°, 65%, 27%. This green hue evokes nature and harmony, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #407218 is #491872, creating high-contrast pairings. For softer combinations, try analogous colors like #6D7218.

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

Contrast with #407218

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #407218?

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

What is the RGB value of #407218?

#407218 in RGB is (64, 114, 24) - 64 red, 114 green, and 24 blue.

How to use #407218 in CSS?

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

What colors go well with #407218?

#491872 (complementary), #6D7218 (analogous), and #1D320B (lighter shade) work well with #407218.