#335237 Color Information

Hex color code: #335237

A pastel green shade, #335237 appears as (51, 82, 55) in RGB and (128°, 23%, 26%) in HSL. It is commonly used in modern UI design.

Try:
Color NameDark Slate Gray
HEX
#335237
RGB
51, 82, 55
HSL
128°, 23%, 26%
CMYK
38%, 0%, 33%, 68%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #335237; 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 #335237; background-color: #33523715; }

Alert / Toast

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

Link / Accent

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

a { color: #335237; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #335237 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

51, 82, 55

Red: 51 / Green: 82 / Blue: 55

HSL

128°, 23%, 26%

Hue: 128° / Saturation: 23% / Lightness: 26%

CMYK

38%, 0%, 33%, 68%

Cyan: 38% / Magenta: 0% / Yellow: 33% / Key: 68%

What color is #335237?

#335237 is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #335237 to RGB:

rgb(51, 82, 55)HEX to RGB Converter →

HEX to HSL

Convert #335237 to HSL:

hsl(128, 23%, 26%)RGB to HSL Converter →

HEX to CMYK

Convert #335237 to CMYK:

cmyk(38%, 0%, 33%, 68%)Color Converter →

Color Meaning and Usage

#335237 is a delicate green color with RGB values of 51, 82, 55 and HSL of 128°, 23%, 26%. This green hue evokes nature and harmony, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #335237 is #52334D, creating high-contrast pairings. For softer combinations, try analogous colors like #3E5233.

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

Contrast with #335237

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 #335237?

#335237 is a delicate green color - a green hue that evokes nature and harmony.

What is the RGB value of #335237?

#335237 in RGB is (51, 82, 55) - 51 red, 82 green, and 55 blue.

How to use #335237 in CSS?

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

What colors go well with #335237?

#52334D (complementary), #3E5233 (analogous), and #162317 (lighter shade) work well with #335237.