#313F31 Color Information

Hex color code: #313F31

The hex color #313F31 is a dramatic green with RGB values of (49, 63, 49) and HSL of (120°, 13%, 22%). It is widely used in graphic design.

Try:
Color NameDark Slate Gray
HEX
#313F31
RGB
49, 63, 49
HSL
120°, 13%, 22%
CMYK
22%, 0%, 22%, 75%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #313F31; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

49, 63, 49

Red: 49 / Green: 63 / Blue: 49

HSL

120°, 13%, 22%

Hue: 120° / Saturation: 13% / Lightness: 22%

CMYK

22%, 0%, 22%, 75%

Cyan: 22% / Magenta: 0% / Yellow: 22% / Key: 75%

What color is #313F31?

#313F31 is a desaturated neutral associated with balance and subtlety.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #313F31 to RGB:

rgb(49, 63, 49)HEX to RGB Converter →

HEX to HSL

Convert #313F31 to HSL:

hsl(120, 13%, 22%)RGB to HSL Converter →

HEX to CMYK

Convert #313F31 to CMYK:

cmyk(22%, 0%, 22%, 75%)Color Converter →

Color Meaning and Usage

#313F31 is a rich green color with RGB values of 49, 63, 49 and HSL of 120°, 13%, 22%. This desaturated neutral evokes balance and subtlety, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #313F31 is #3F313F, creating high-contrast pairings. For softer combinations, try analogous colors like #383F31.

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

Contrast with #313F31

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #313F31?

#313F31 is a rich green color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #313F31?

#313F31 in RGB is (49, 63, 49) - 49 red, 63 green, and 49 blue.

How to use #313F31 in CSS?

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

What colors go well with #313F31?

#3F313F (complementary), #383F31 (analogous), and #101410 (lighter shade) work well with #313F31.