#1F472C Color Information

Hex color code: #1F472C

#1F472C is a intense green color. In RGB it is (31, 71, 44), and in HSL it is (140°, 39%, 20%). It is widely used in graphic design.

Try:
Color NameDark Slate Gray
HEX
#1F472C
RGB
31, 71, 44
HSL
140°, 39%, 20%
CMYK
56%, 0%, 38%, 72%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #1F472C, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #1F472C; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #1F472C; 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 #1F472C; background-color: #1F472C15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #1F472C20; border-left: 4px solid #1F472C; }

Link / Accent

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

a { color: #1F472C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #1F472C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

31, 71, 44

Red: 31 / Green: 71 / Blue: 44

HSL

140°, 39%, 20%

Hue: 140° / Saturation: 39% / Lightness: 20%

CMYK

56%, 0%, 38%, 72%

Cyan: 56% / Magenta: 0% / Yellow: 38% / Key: 72%

What color is #1F472C?

#1F472C is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #1F472C to RGB:

rgb(31, 71, 44)HEX to RGB Converter →

HEX to HSL

Convert #1F472C to HSL:

hsl(140, 39%, 20%)RGB to HSL Converter →

HEX to CMYK

Convert #1F472C to CMYK:

cmyk(56%, 0%, 38%, 72%)Color Converter →

Color Meaning and Usage

#1F472C is a rich green color with RGB values of 31, 71, 44 and HSL of 140°, 39%, 20%. This green hue evokes nature and harmony, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #1F472C is #471F3A, creating high-contrast pairings. For softer combinations, try analogous colors like #26471F.

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

Contrast with #1F472C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #1F472C?

#1F472C is a rich green color - a green hue that evokes nature and harmony.

What is the RGB value of #1F472C?

#1F472C in RGB is (31, 71, 44) - 31 red, 71 green, and 44 blue.

How to use #1F472C in CSS?

Use #1F472C directly in your CSS properties like color or background-color.

What colors go well with #1F472C?

#471F3A (complementary), #26471F (analogous), and #08120B (lighter shade) work well with #1F472C.