#2F4927 Color Information

Hex color code: #2F4927

The hex color #2F4927 is a intense green with RGB values of (47, 73, 39) and HSL of (106°, 30%, 22%). It is widely used in graphic design.

Try:
Color NameDark Slate Gray
HEX
#2F4927
RGB
47, 73, 39
HSL
106°, 30%, 22%
CMYK
36%, 0%, 47%, 71%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #2F4927; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

47, 73, 39

Red: 47 / Green: 73 / Blue: 39

HSL

106°, 30%, 22%

Hue: 106° / Saturation: 30% / Lightness: 22%

CMYK

36%, 0%, 47%, 71%

Cyan: 36% / Magenta: 0% / Yellow: 47% / Key: 71%

What color is #2F4927?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #2F4927 to RGB:

rgb(47, 73, 39)HEX to RGB Converter →

HEX to HSL

Convert #2F4927 to HSL:

hsl(106, 30%, 22%)RGB to HSL Converter →

HEX to CMYK

Convert #2F4927 to CMYK:

cmyk(36%, 0%, 47%, 71%)Color Converter →

Color Meaning and Usage

A rich green tone, #2F4927 has RGB (47, 73, 39) and HSL (106°, 30%, 22%). Known for evoking nature and harmony, this green hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #2F4927 is #412749, creating high-contrast pairings. For softer combinations, try analogous colors like #404927.

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

Contrast with #2F4927

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #2F4927?

#2F4927 is a rich green color - a green hue that evokes nature and harmony.

What is the RGB value of #2F4927?

#2F4927 in RGB is (47, 73, 39) - 47 red, 73 green, and 39 blue.

How to use #2F4927 in CSS?

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

What colors go well with #2F4927?

#412749 (complementary), #404927 (analogous), and #0F170C (lighter shade) work well with #2F4927.