#478042 Color Information

Hex color code: #478042

The hex color #478042 is a gentle green with RGB values of (71, 128, 66) and HSL of (115°, 32%, 38%). It is frequently seen in web interfaces.

Try:
Color NameDark Olive Green
HEX
#478042
RGB
71, 128, 66
HSL
115°, 32%, 38%
CMYK
45%, 0%, 48%, 50%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #478042; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

71, 128, 66

Red: 71 / Green: 128 / Blue: 66

HSL

115°, 32%, 38%

Hue: 115° / Saturation: 32% / Lightness: 38%

CMYK

45%, 0%, 48%, 50%

Cyan: 45% / Magenta: 0% / Yellow: 48% / Key: 50%

What color is #478042?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #478042 to RGB:

rgb(71, 128, 66)HEX to RGB Converter →

HEX to HSL

Convert #478042 to HSL:

hsl(115, 32%, 38%)RGB to HSL Converter →

HEX to CMYK

Convert #478042 to CMYK:

cmyk(45%, 0%, 48%, 50%)Color Converter →

Color Meaning and Usage

#478042 is a soft green color with RGB values of 71, 128, 66 and HSL of 115°, 32%, 38%. This green hue evokes nature and harmony, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #478042 is #7B4280, creating high-contrast pairings. For softer combinations, try analogous colors like #668042.

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

Contrast with #478042

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #478042?

#478042 is a soft green color - a green hue that evokes nature and harmony.

What is the RGB value of #478042?

#478042 in RGB is (71, 128, 66) - 71 red, 128 green, and 66 blue.

How to use #478042 in CSS?

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

What colors go well with #478042?

#7B4280 (complementary), #668042 (analogous), and #2B4D28 (lighter shade) work well with #478042.