#518C40 Color Information

Hex color code: #518C40

A soft green shade, #518C40 appears as (81, 140, 64) in RGB and (107°, 37%, 40%) in HSL. It is typically applied in digital products.

Try:
Color NameDark Olive Green
HEX
#518C40
RGB
81, 140, 64
HSL
107°, 37%, 40%
CMYK
42%, 0%, 54%, 45%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #518C40; color: #000000; }

Badge

New Feature
.badge { background-color: #518C40; 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 #518C40; background-color: #518C4015; }

Alert / Toast

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

Link / Accent

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

a { color: #518C40; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #518C40 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

81, 140, 64

Red: 81 / Green: 140 / Blue: 64

HSL

107°, 37%, 40%

Hue: 107° / Saturation: 37% / Lightness: 40%

CMYK

42%, 0%, 54%, 45%

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

What color is #518C40?

#518C40 is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #518C40 to RGB:

rgb(81, 140, 64)HEX to RGB Converter →

HEX to HSL

Convert #518C40 to HSL:

hsl(107, 37%, 40%)RGB to HSL Converter →

HEX to CMYK

Convert #518C40 to CMYK:

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

Color Meaning and Usage

A delicate green tone, #518C40 has RGB (81, 140, 64) and HSL (107°, 37%, 40%). Known for evoking nature and harmony, this green hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #518C40 is #7B408C, creating high-contrast pairings. For softer combinations, try analogous colors like #768C40.

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

Contrast with #518C40

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #518C40?

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

What is the RGB value of #518C40?

#518C40 in RGB is (81, 140, 64) - 81 red, 140 green, and 64 blue.

How to use #518C40 in CSS?

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

What colors go well with #518C40?

#7B408C (complementary), #768C40 (analogous), and #325728 (lighter shade) work well with #518C40.