#335B39 Color Information

Hex color code: #335B39

The hex color #335B39 is a gentle green with RGB values of (51, 91, 57) and HSL of (129°, 28%, 28%). It is frequently seen in web interfaces.

Try:
Color NameDark Slate Gray
HEX
#335B39
RGB
51, 91, 57
HSL
129°, 28%, 28%
CMYK
44%, 0%, 37%, 64%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #335B39, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #335B39; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #335B39; 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 #335B39; background-color: #335B3915; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #335B3920; border-left: 4px solid #335B39; }

Link / Accent

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

a { color: #335B39; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #335B39 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

51, 91, 57

Red: 51 / Green: 91 / Blue: 57

HSL

129°, 28%, 28%

Hue: 129° / Saturation: 28% / Lightness: 28%

CMYK

44%, 0%, 37%, 64%

Cyan: 44% / Magenta: 0% / Yellow: 37% / Key: 64%

What color is #335B39?

#335B39 is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #335B39 to RGB:

rgb(51, 91, 57)HEX to RGB Converter →

HEX to HSL

Convert #335B39 to HSL:

hsl(129, 28%, 28%)RGB to HSL Converter →

HEX to CMYK

Convert #335B39 to CMYK:

cmyk(44%, 0%, 37%, 64%)Color Converter →

Color Meaning and Usage

#335B39 is a gentle green color with RGB values of 51, 91, 57 and HSL of 129°, 28%, 28%. This green hue evokes nature and harmony, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #335B39 is #5B3355, creating high-contrast pairings. For softer combinations, try analogous colors like #415B33.

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

Contrast with #335B39

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #335B39?

#335B39 is a gentle green color - a green hue that evokes nature and harmony.

What is the RGB value of #335B39?

#335B39 in RGB is (51, 91, 57) - 51 red, 91 green, and 57 blue.

How to use #335B39 in CSS?

Use #335B39 directly in your CSS properties like color or background-color.

What colors go well with #335B39?

#5B3355 (complementary), #415B33 (analogous), and #182A1B (lighter shade) work well with #335B39.