#3B512F Color Information

Hex color code: #3B512F

#3B512F is a soft green color. In RGB it is (59, 81, 47), and in HSL it is (99°, 27%, 25%). It is typically applied in digital products.

Try:
Color NameDark Slate Gray
HEX
#3B512F
RGB
59, 81, 47
HSL
99°, 27%, 25%
CMYK
27%, 0%, 42%, 68%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #3B512F, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #3B512F; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #3B512F; 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 #3B512F; background-color: #3B512F15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #3B512F20; border-left: 4px solid #3B512F; }

Link / Accent

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

a { color: #3B512F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #3B512F in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

59, 81, 47

Red: 59 / Green: 81 / Blue: 47

HSL

99°, 27%, 25%

Hue: 99° / Saturation: 27% / Lightness: 25%

CMYK

27%, 0%, 42%, 68%

Cyan: 27% / Magenta: 0% / Yellow: 42% / Key: 68%

What color is #3B512F?

#3B512F is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #3B512F to RGB:

rgb(59, 81, 47)HEX to RGB Converter →

HEX to HSL

Convert #3B512F to HSL:

hsl(99, 27%, 25%)RGB to HSL Converter →

HEX to CMYK

Convert #3B512F to CMYK:

cmyk(27%, 0%, 42%, 68%)Color Converter →

Color Meaning and Usage

A soft green tone, #3B512F has RGB (59, 81, 47) and HSL (99°, 27%, 25%). Known for evoking nature and harmony, this green hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #3B512F is #452F51, creating high-contrast pairings. For softer combinations, try analogous colors like #4C512F.

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

Contrast with #3B512F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #3B512F?

#3B512F is a soft green color - a green hue that evokes nature and harmony.

What is the RGB value of #3B512F?

#3B512F in RGB is (59, 81, 47) - 59 red, 81 green, and 47 blue.

How to use #3B512F in CSS?

Use #3B512F directly in your CSS properties like color or background-color.

What colors go well with #3B512F?

#452F51 (complementary), #4C512F (analogous), and #172013 (lighter shade) work well with #3B512F.