#335C28 Color Information

Hex color code: #335C28

A subtle green shade, #335C28 appears as (51, 92, 40) in RGB and (107°, 39%, 26%) in HSL. It is often used for branding and logos.

Try:
Color NameDark Olive Green
HEX
#335C28
RGB
51, 92, 40
HSL
107°, 39%, 26%
CMYK
45%, 0%, 57%, 64%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #335C28; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

51, 92, 40

Red: 51 / Green: 92 / Blue: 40

HSL

107°, 39%, 26%

Hue: 107° / Saturation: 39% / Lightness: 26%

CMYK

45%, 0%, 57%, 64%

Cyan: 45% / Magenta: 0% / Yellow: 57% / Key: 64%

What color is #335C28?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #335C28 to RGB:

rgb(51, 92, 40)HEX to RGB Converter →

HEX to HSL

Convert #335C28 to HSL:

hsl(107, 39%, 26%)RGB to HSL Converter →

HEX to CMYK

Convert #335C28 to CMYK:

cmyk(45%, 0%, 57%, 64%)Color Converter →

Color Meaning and Usage

A soft green tone, #335C28 has RGB (51, 92, 40) and HSL (107°, 39%, 26%). 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 #335C28 is #51285C, creating high-contrast pairings. For softer combinations, try analogous colors like #4E5C28.

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

Contrast with #335C28

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

#335C28 is a soft green color - a green hue that evokes nature and harmony.

What is the RGB value of #335C28?

#335C28 in RGB is (51, 92, 40) - 51 red, 92 green, and 40 blue.

How to use #335C28 in CSS?

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

What colors go well with #335C28?

#51285C (complementary), #4E5C28 (analogous), and #162711 (lighter shade) work well with #335C28.