#406015 Color Information

Hex color code: #406015

A dramatic green shade, #406015 appears as (64, 96, 21) in RGB and (86°, 64%, 23%) in HSL. It is typically applied in digital products.

Try:
Color NameDark Olive Green
HEX
#406015
RGB
64, 96, 21
HSL
86°, 64%, 23%
CMYK
33%, 0%, 78%, 62%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #406015; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 96, 21

Red: 64 / Green: 96 / Blue: 21

HSL

86°, 64%, 23%

Hue: 86° / Saturation: 64% / Lightness: 23%

CMYK

33%, 0%, 78%, 62%

Cyan: 33% / Magenta: 0% / Yellow: 78% / Key: 62%

What color is #406015?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #406015 to RGB:

rgb(64, 96, 21)HEX to RGB Converter →

HEX to HSL

Convert #406015 to HSL:

hsl(86, 64%, 23%)RGB to HSL Converter →

HEX to CMYK

Convert #406015 to CMYK:

cmyk(33%, 0%, 78%, 62%)Color Converter →

Color Meaning and Usage

A deep green tone, #406015 has RGB (64, 96, 21) and HSL (86°, 64%, 23%). Known for evoking nature and harmony, this green hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #406015 is #361560, creating high-contrast pairings. For softer combinations, try analogous colors like #605B15.

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

Contrast with #406015

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 #406015?

#406015 is a deep green color - a green hue that evokes nature and harmony.

What is the RGB value of #406015?

#406015 in RGB is (64, 96, 21) - 64 red, 96 green, and 21 blue.

How to use #406015 in CSS?

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

What colors go well with #406015?

#361560 (complementary), #605B15 (analogous), and #162107 (lighter shade) work well with #406015.