#315939 Color Information

Hex color code: #315939

#315939 is a soft green color. In RGB it is (49, 89, 57), and in HSL it is (132°, 29%, 27%). It is widely used in graphic design.

Try:
Color NameDark Slate Gray
HEX
#315939
RGB
49, 89, 57
HSL
132°, 29%, 27%
CMYK
45%, 0%, 36%, 65%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #315939; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

49, 89, 57

Red: 49 / Green: 89 / Blue: 57

HSL

132°, 29%, 27%

Hue: 132° / Saturation: 29% / Lightness: 27%

CMYK

45%, 0%, 36%, 65%

Cyan: 45% / Magenta: 0% / Yellow: 36% / Key: 65%

What color is #315939?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #315939 to RGB:

rgb(49, 89, 57)HEX to RGB Converter →

HEX to HSL

Convert #315939 to HSL:

hsl(132, 29%, 27%)RGB to HSL Converter →

HEX to CMYK

Convert #315939 to CMYK:

cmyk(45%, 0%, 36%, 65%)Color Converter →

Color Meaning and Usage

A delicate green tone, #315939 has RGB (49, 89, 57) and HSL (132°, 29%, 27%). 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 #315939 is #593151, creating high-contrast pairings. For softer combinations, try analogous colors like #3D5931.

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

Contrast with #315939

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #315939?

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

What is the RGB value of #315939?

#315939 in RGB is (49, 89, 57) - 49 red, 89 green, and 57 blue.

How to use #315939 in CSS?

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

What colors go well with #315939?

#593151 (complementary), #3D5931 (analogous), and #162719 (lighter shade) work well with #315939.