#1F562D Color Information

Hex color code: #1F562D

#1F562D is a dark green color. In RGB it is (31, 86, 45), and in HSL it is (135°, 47%, 23%). It is often used for branding and logos.

Try:
Color NameDark Slate Gray
HEX
#1F562D
RGB
31, 86, 45
HSL
135°, 47%, 23%
CMYK
64%, 0%, 48%, 66%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #1F562D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

31, 86, 45

Red: 31 / Green: 86 / Blue: 45

HSL

135°, 47%, 23%

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

CMYK

64%, 0%, 48%, 66%

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

What color is #1F562D?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #1F562D to RGB:

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

HEX to HSL

Convert #1F562D to HSL:

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

HEX to CMYK

Convert #1F562D to CMYK:

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

Color Meaning and Usage

A deep green tone, #1F562D has RGB (31, 86, 45) and HSL (135°, 47%, 23%). Known for evoking nature and harmony, this green hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #1F562D is #561F48, creating high-contrast pairings. For softer combinations, try analogous colors like #2D561F.

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

Contrast with #1F562D

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 #1F562D?

#1F562D is a deep green color - a green hue that evokes nature and harmony.

What is the RGB value of #1F562D?

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

How to use #1F562D in CSS?

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

What colors go well with #1F562D?

#561F48 (complementary), #2D561F (analogous), and #0B1E10 (lighter shade) work well with #1F562D.