#407D48 Color Information

Hex color code: #407D48

#407D48 is a pastel green color. In RGB it is (64, 125, 72), and in HSL it is (128°, 32%, 37%). It is commonly used in modern UI design.

Try:
Color NameSea Green
HEX
#407D48
RGB
64, 125, 72
HSL
128°, 32%, 37%
CMYK
49%, 0%, 42%, 51%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #407D48; 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 #407D48; background-color: #407D4815; }

Alert / Toast

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

Link / Accent

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

a { color: #407D48; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #407D48 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 125, 72

Red: 64 / Green: 125 / Blue: 72

HSL

128°, 32%, 37%

Hue: 128° / Saturation: 32% / Lightness: 37%

CMYK

49%, 0%, 42%, 51%

Cyan: 49% / Magenta: 0% / Yellow: 42% / Key: 51%

What color is #407D48?

#407D48 is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #407D48 to RGB:

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

HEX to HSL

Convert #407D48 to HSL:

hsl(128, 32%, 37%)RGB to HSL Converter →

HEX to CMYK

Convert #407D48 to CMYK:

cmyk(49%, 0%, 42%, 51%)Color Converter →

Color Meaning and Usage

#407D48 is a pastel green color with RGB values of 64, 125, 72 and HSL of 128°, 32%, 37%. 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 #407D48 is #7D4074, creating high-contrast pairings. For softer combinations, try analogous colors like #567D40.

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

Contrast with #407D48

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #407D48?

#407D48 is a pastel green color - a green hue that evokes nature and harmony.

What is the RGB value of #407D48?

#407D48 in RGB is (64, 125, 72) - 64 red, 125 green, and 72 blue.

How to use #407D48 in CSS?

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

What colors go well with #407D48?

#7D4074 (complementary), #567D40 (analogous), and #264A2B (lighter shade) work well with #407D48.