#517240 Color Information

Hex color code: #517240

A pastel green shade, #517240 appears as (81, 114, 64) in RGB and (100°, 28%, 35%) in HSL. It is commonly used in modern UI design.

Try:
Color NameDark Olive Green
HEX
#517240
RGB
81, 114, 64
HSL
100°, 28%, 35%
CMYK
29%, 0%, 44%, 55%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #517240; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

81, 114, 64

Red: 81 / Green: 114 / Blue: 64

HSL

100°, 28%, 35%

Hue: 100° / Saturation: 28% / Lightness: 35%

CMYK

29%, 0%, 44%, 55%

Cyan: 29% / Magenta: 0% / Yellow: 44% / Key: 55%

What color is #517240?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #517240 to RGB:

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

HEX to HSL

Convert #517240 to HSL:

hsl(100, 28%, 35%)RGB to HSL Converter →

HEX to CMYK

Convert #517240 to CMYK:

cmyk(29%, 0%, 44%, 55%)Color Converter →

Color Meaning and Usage

A delicate green tone, #517240 has RGB (81, 114, 64) and HSL (100°, 28%, 35%). Known for evoking nature and harmony, this green hue is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #517240 is #624072, creating high-contrast pairings. For softer combinations, try analogous colors like #6A7240.

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

Contrast with #517240

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #517240?

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

What is the RGB value of #517240?

#517240 in RGB is (81, 114, 64) - 81 red, 114 green, and 64 blue.

How to use #517240 in CSS?

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

What colors go well with #517240?

#624072 (complementary), #6A7240 (analogous), and #2E4125 (lighter shade) work well with #517240.