#408B2D Color Information

Hex color code: #408B2D

A muted green shade, #408B2D appears as (64, 139, 45) in RGB and (108°, 51%, 36%) in HSL. It is widely used in graphic design.

Try:
Color NameDark Olive Green
HEX
#408B2D
RGB
64, 139, 45
HSL
108°, 51%, 36%
CMYK
54%, 0%, 68%, 45%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #408B2D; color: #000000; }

Badge

New Feature
.badge { background-color: #408B2D; color: #000000; }

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 #408B2D; background-color: #408B2D15; }

Alert / Toast

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

Link / Accent

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

a { color: #408B2D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #408B2D in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 139, 45

Red: 64 / Green: 139 / Blue: 45

HSL

108°, 51%, 36%

Hue: 108° / Saturation: 51% / Lightness: 36%

CMYK

54%, 0%, 68%, 45%

Cyan: 54% / Magenta: 0% / Yellow: 68% / Key: 45%

What color is #408B2D?

#408B2D is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #408B2D to RGB:

rgb(64, 139, 45)HEX to RGB Converter →

HEX to HSL

Convert #408B2D to HSL:

hsl(108, 51%, 36%)RGB to HSL Converter →

HEX to CMYK

Convert #408B2D to CMYK:

cmyk(54%, 0%, 68%, 45%)Color Converter →

Color Meaning and Usage

#408B2D is a muted green color with RGB values of 64, 139, 45 and HSL of 108°, 51%, 36%. 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 #408B2D is #782D8B, creating high-contrast pairings. For softer combinations, try analogous colors like #6F8B2D.

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

Contrast with #408B2D

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

Contrast Ratio: 4.95:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #408B2D?

#408B2D is a muted green color - a green hue that evokes nature and harmony.

What is the RGB value of #408B2D?

#408B2D in RGB is (64, 139, 45) - 64 red, 139 green, and 45 blue.

How to use #408B2D in CSS?

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

What colors go well with #408B2D?

#782D8B (complementary), #6F8B2D (analogous), and #25511A (lighter shade) work well with #408B2D.