#335B3D Color Information

Hex color code: #335B3D

The hex color #335B3D is a delicate green with RGB values of (51, 91, 61) and HSL of (135°, 28%, 28%). It is popular in mobile app design.

Try:
Color NameDark Slate Gray
HEX
#335B3D
RGB
51, 91, 61
HSL
135°, 28%, 28%
CMYK
44%, 0%, 33%, 64%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #335B3D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

51, 91, 61

Red: 51 / Green: 91 / Blue: 61

HSL

135°, 28%, 28%

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

CMYK

44%, 0%, 33%, 64%

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

What color is #335B3D?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #335B3D to RGB:

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

HEX to HSL

Convert #335B3D to HSL:

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

HEX to CMYK

Convert #335B3D to CMYK:

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

Color Meaning and Usage

A pastel green tone, #335B3D has RGB (51, 91, 61) and HSL (135°, 28%, 28%). Known for evoking nature and harmony, this green hue is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #335B3D is #5B3351, creating high-contrast pairings. For softer combinations, try analogous colors like #3D5B33.

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

Contrast with #335B3D

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

#335B3D is a pastel green color - a green hue that evokes nature and harmony.

What is the RGB value of #335B3D?

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

How to use #335B3D in CSS?

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

What colors go well with #335B3D?

#5B3351 (complementary), #3D5B33 (analogous), and #182A1D (lighter shade) work well with #335B3D.