#313F27 Color Information

Hex color code: #313F27

A intense green shade, #313F27 appears as (49, 63, 39) in RGB and (95°, 24%, 20%) in HSL. It is widely used in graphic design.

Try:
Color NameDark Slate Gray
HEX
#313F27
RGB
49, 63, 39
HSL
95°, 24%, 20%
CMYK
22%, 0%, 38%, 75%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #313F27; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

49, 63, 39

Red: 49 / Green: 63 / Blue: 39

HSL

95°, 24%, 20%

Hue: 95° / Saturation: 24% / Lightness: 20%

CMYK

22%, 0%, 38%, 75%

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

What color is #313F27?

#313F27 is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #313F27 to RGB:

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

HEX to HSL

Convert #313F27 to HSL:

hsl(95, 24%, 20%)RGB to HSL Converter →

HEX to CMYK

Convert #313F27 to CMYK:

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

Color Meaning and Usage

A dramatic green tone, #313F27 has RGB (49, 63, 39) and HSL (95°, 24%, 20%). Known for evoking nature and harmony, this green hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #313F27 is #35273F, creating high-contrast pairings. For softer combinations, try analogous colors like #3D3F27.

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

Contrast with #313F27

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #313F27?

#313F27 is a dramatic green color - a green hue that evokes nature and harmony.

What is the RGB value of #313F27?

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

How to use #313F27 in CSS?

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

What colors go well with #313F27?

#35273F (complementary), #3D3F27 (analogous), and #0C100A (lighter shade) work well with #313F27.