#313C15 Color Information

Hex color code: #313C15

A rich green shade, #313C15 appears as (49, 60, 21) in RGB and (77°, 48%, 16%) in HSL. It is often used for branding and logos.

Try:
Color NameDark Slate Gray
HEX
#313C15
RGB
49, 60, 21
HSL
77°, 48%, 16%
CMYK
18%, 0%, 65%, 76%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #313C15; 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 #313C15; background-color: #313C1515; }

Alert / Toast

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

Link / Accent

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

a { color: #313C15; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #313C15 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

49, 60, 21

Red: 49 / Green: 60 / Blue: 21

HSL

77°, 48%, 16%

Hue: 77° / Saturation: 48% / Lightness: 16%

CMYK

18%, 0%, 65%, 76%

Cyan: 18% / Magenta: 0% / Yellow: 65% / Key: 76%

What color is #313C15?

#313C15 is a very dark shade associated with sophistication and elegance.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #313C15 to RGB:

rgb(49, 60, 21)HEX to RGB Converter →

HEX to HSL

Convert #313C15 to HSL:

hsl(77, 48%, 16%)RGB to HSL Converter →

HEX to CMYK

Convert #313C15 to CMYK:

cmyk(18%, 0%, 65%, 76%)Color Converter →

Color Meaning and Usage

A dark green tone, #313C15 has RGB (49, 60, 21) and HSL (77°, 48%, 16%). Known for evoking sophistication and elegance, this very dark shade is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #313C15 is #20153C, creating high-contrast pairings. For softer combinations, try analogous colors like #3C3415.

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

Contrast with #313C15

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #313C15?

#313C15 is a dark green color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #313C15?

#313C15 in RGB is (49, 60, 21) - 49 red, 60 green, and 21 blue.

How to use #313C15 in CSS?

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

What colors go well with #313C15?

#20153C (complementary), #3C3415 (analogous), and #030401 (lighter shade) work well with #313C15.