#406148 Color Information

Hex color code: #406148

#406148 is a delicate green color. In RGB it is (64, 97, 72), and in HSL it is (135°, 20%, 32%). It is widely used in graphic design.

Try:
Color NameDark Slate Gray
HEX
#406148
RGB
64, 97, 72
HSL
135°, 20%, 32%
CMYK
34%, 0%, 26%, 62%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #406148; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 97, 72

Red: 64 / Green: 97 / Blue: 72

HSL

135°, 20%, 32%

Hue: 135° / Saturation: 20% / Lightness: 32%

CMYK

34%, 0%, 26%, 62%

Cyan: 34% / Magenta: 0% / Yellow: 26% / Key: 62%

What color is #406148?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #406148 to RGB:

rgb(64, 97, 72)HEX to RGB Converter →

HEX to HSL

Convert #406148 to HSL:

hsl(135, 20%, 32%)RGB to HSL Converter →

HEX to CMYK

Convert #406148 to CMYK:

cmyk(34%, 0%, 26%, 62%)Color Converter →

Color Meaning and Usage

#406148 is a delicate green color with RGB values of 64, 97, 72 and HSL of 135°, 20%, 32%. This green hue evokes nature and harmony, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #406148 is #62415A, creating high-contrast pairings. For softer combinations, try analogous colors like #496241.

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

Contrast with #406148

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #406148?

#406148 is a delicate green color - a green hue that evokes nature and harmony.

What is the RGB value of #406148?

#406148 in RGB is (64, 97, 72) - 64 red, 97 green, and 72 blue.

How to use #406148 in CSS?

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

What colors go well with #406148?

#62415A (complementary), #496241 (analogous), and #233427 (lighter shade) work well with #406148.