#335B3B Color Information

Hex color code: #335B3B

The hex color #335B3B is a soft green with RGB values of (51, 91, 59) and HSL of (132°, 28%, 28%). It is typically applied in digital products.

Try:
Color NameDark Slate Gray
HEX
#335B3B
RGB
51, 91, 59
HSL
132°, 28%, 28%
CMYK
44%, 0%, 35%, 64%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #335B3B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

51, 91, 59

Red: 51 / Green: 91 / Blue: 59

HSL

132°, 28%, 28%

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

CMYK

44%, 0%, 35%, 64%

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

What color is #335B3B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #335B3B to RGB:

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

HEX to HSL

Convert #335B3B to HSL:

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

HEX to CMYK

Convert #335B3B to CMYK:

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

Color Meaning and Usage

A gentle green tone, #335B3B has RGB (51, 91, 59) and HSL (132°, 28%, 28%). Known for evoking nature and harmony, this green hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #335B3B is #5B3353, creating high-contrast pairings. For softer combinations, try analogous colors like #3F5B33.

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

Contrast with #335B3B

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 #335B3B?

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

What is the RGB value of #335B3B?

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

How to use #335B3B in CSS?

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

What colors go well with #335B3B?

#5B3353 (complementary), #3F5B33 (analogous), and #182A1C (lighter shade) work well with #335B3B.