#2F4B31 Color Information

Hex color code: #2F4B31

The hex color #2F4B31 is a dark green with RGB values of (47, 75, 49) and HSL of (124°, 23%, 24%). It is often used for branding and logos.

Try:
Color NameDark Slate Gray
HEX
#2F4B31
RGB
47, 75, 49
HSL
124°, 23%, 24%
CMYK
37%, 0%, 35%, 71%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #2F4B31; 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 #2F4B31; background-color: #2F4B3115; }

Alert / Toast

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

Link / Accent

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

a { color: #2F4B31; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #2F4B31 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

47, 75, 49

Red: 47 / Green: 75 / Blue: 49

HSL

124°, 23%, 24%

Hue: 124° / Saturation: 23% / Lightness: 24%

CMYK

37%, 0%, 35%, 71%

Cyan: 37% / Magenta: 0% / Yellow: 35% / Key: 71%

What color is #2F4B31?

#2F4B31 is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #2F4B31 to RGB:

rgb(47, 75, 49)HEX to RGB Converter →

HEX to HSL

Convert #2F4B31 to HSL:

hsl(124, 23%, 24%)RGB to HSL Converter →

HEX to CMYK

Convert #2F4B31 to CMYK:

cmyk(37%, 0%, 35%, 71%)Color Converter →

Color Meaning and Usage

A dark green tone, #2F4B31 has RGB (47, 75, 49) and HSL (124°, 23%, 24%). Known for evoking nature and harmony, this green hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #2F4B31 is #4B2F49, creating high-contrast pairings. For softer combinations, try analogous colors like #3B4B2F.

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

Contrast with #2F4B31

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #2F4B31?

#2F4B31 is a dark green color - a green hue that evokes nature and harmony.

What is the RGB value of #2F4B31?

#2F4B31 in RGB is (47, 75, 49) - 47 red, 75 green, and 49 blue.

How to use #2F4B31 in CSS?

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

What colors go well with #2F4B31?

#4B2F49 (complementary), #3B4B2F (analogous), and #121C12 (lighter shade) work well with #2F4B31.