#2D5822 Color Information

Hex color code: #2D5822

#2D5822 is a dramatic green color. In RGB it is (45, 88, 34), and in HSL it is (108°, 44%, 24%). It is widely used in graphic design.

Try:
Color NameDark Slate Gray
HEX
#2D5822
RGB
45, 88, 34
HSL
108°, 44%, 24%
CMYK
49%, 0%, 61%, 65%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #2D5822; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

45, 88, 34

Red: 45 / Green: 88 / Blue: 34

HSL

108°, 44%, 24%

Hue: 108° / Saturation: 44% / Lightness: 24%

CMYK

49%, 0%, 61%, 65%

Cyan: 49% / Magenta: 0% / Yellow: 61% / Key: 65%

What color is #2D5822?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #2D5822 to RGB:

rgb(45, 88, 34)HEX to RGB Converter →

HEX to HSL

Convert #2D5822 to HSL:

hsl(108, 44%, 24%)RGB to HSL Converter →

HEX to CMYK

Convert #2D5822 to CMYK:

cmyk(49%, 0%, 61%, 65%)Color Converter →

Color Meaning and Usage

#2D5822 is a deep green color with RGB values of 45, 88, 34 and HSL of 108°, 44%, 24%. This green hue evokes nature and harmony, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #2D5822 is #4D2258, creating high-contrast pairings. For softer combinations, try analogous colors like #485822.

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

Contrast with #2D5822

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #2D5822?

#2D5822 is a deep green color - a green hue that evokes nature and harmony.

What is the RGB value of #2D5822?

#2D5822 in RGB is (45, 88, 34) - 45 red, 88 green, and 34 blue.

How to use #2D5822 in CSS?

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

What colors go well with #2D5822?

#4D2258 (complementary), #485822 (analogous), and #11210D (lighter shade) work well with #2D5822.