#2D7B2F Color Information

Hex color code: #2D7B2F

#2D7B2F is a subtle green color. In RGB it is (45, 123, 47), and in HSL it is (122°, 46%, 33%). It is popular in mobile app design.

Try:
Color NameDark Olive Green
HEX
#2D7B2F
RGB
45, 123, 47
HSL
122°, 46%, 33%
CMYK
63%, 0%, 62%, 52%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #2D7B2F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

45, 123, 47

Red: 45 / Green: 123 / Blue: 47

HSL

122°, 46%, 33%

Hue: 122° / Saturation: 46% / Lightness: 33%

CMYK

63%, 0%, 62%, 52%

Cyan: 63% / Magenta: 0% / Yellow: 62% / Key: 52%

What color is #2D7B2F?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #2D7B2F to RGB:

rgb(45, 123, 47)HEX to RGB Converter →

HEX to HSL

Convert #2D7B2F to HSL:

hsl(122, 46%, 33%)RGB to HSL Converter →

HEX to CMYK

Convert #2D7B2F to CMYK:

cmyk(63%, 0%, 62%, 52%)Color Converter →

Color Meaning and Usage

#2D7B2F is a subtle green color with RGB values of 45, 123, 47 and HSL of 122°, 46%, 33%. This green hue evokes nature and harmony, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #2D7B2F is #7B2D78, creating high-contrast pairings. For softer combinations, try analogous colors like #527B2D.

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

Contrast with #2D7B2F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #2D7B2F?

#2D7B2F is a subtle green color - a green hue that evokes nature and harmony.

What is the RGB value of #2D7B2F?

#2D7B2F in RGB is (45, 123, 47) - 45 red, 123 green, and 47 blue.

How to use #2D7B2F in CSS?

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

What colors go well with #2D7B2F?

#7B2D78 (complementary), #527B2D (analogous), and #19431A (lighter shade) work well with #2D7B2F.