#1F562C Color Information

Hex color code: #1F562C

A dramatic green shade, #1F562C appears as (31, 86, 44) in RGB and (134°, 47%, 23%) in HSL. It is typically applied in digital products.

Try:
Color NameDark Slate Gray
HEX
#1F562C
RGB
31, 86, 44
HSL
134°, 47%, 23%
CMYK
64%, 0%, 49%, 66%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #1F562C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

31, 86, 44

Red: 31 / Green: 86 / Blue: 44

HSL

134°, 47%, 23%

Hue: 134° / Saturation: 47% / Lightness: 23%

CMYK

64%, 0%, 49%, 66%

Cyan: 64% / Magenta: 0% / Yellow: 49% / Key: 66%

What color is #1F562C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #1F562C to RGB:

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

HEX to HSL

Convert #1F562C to HSL:

hsl(134, 47%, 23%)RGB to HSL Converter →

HEX to CMYK

Convert #1F562C to CMYK:

cmyk(64%, 0%, 49%, 66%)Color Converter →

Color Meaning and Usage

#1F562C is a intense green color with RGB values of 31, 86, 44 and HSL of 134°, 47%, 23%. This green hue evokes nature and harmony, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #1F562C is #561F49, creating high-contrast pairings. For softer combinations, try analogous colors like #2E561F.

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

Contrast with #1F562C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #1F562C?

#1F562C is a intense green color - a green hue that evokes nature and harmony.

What is the RGB value of #1F562C?

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

How to use #1F562C in CSS?

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

What colors go well with #1F562C?

#561F49 (complementary), #2E561F (analogous), and #0B1E0F (lighter shade) work well with #1F562C.