#338E4D Color Information

Hex color code: #338E4D

A soft green shade, #338E4D appears as (51, 142, 77) in RGB and (137°, 47%, 38%) in HSL. It is typically applied in digital products.

Try:
Color NameSea Green
HEX
#338E4D
RGB
51, 142, 77
HSL
137°, 47%, 38%
CMYK
64%, 0%, 46%, 44%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #338E4D; color: #000000; }

Badge

New Feature
.badge { background-color: #338E4D; color: #000000; }

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 #338E4D; background-color: #338E4D15; }

Alert / Toast

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

Link / Accent

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

a { color: #338E4D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #338E4D in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

51, 142, 77

Red: 51 / Green: 142 / Blue: 77

HSL

137°, 47%, 38%

Hue: 137° / Saturation: 47% / Lightness: 38%

CMYK

64%, 0%, 46%, 44%

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

What color is #338E4D?

#338E4D is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #338E4D to RGB:

rgb(51, 142, 77)HEX to RGB Converter →

HEX to HSL

Convert #338E4D to HSL:

hsl(137, 47%, 38%)RGB to HSL Converter →

HEX to CMYK

Convert #338E4D to CMYK:

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

Color Meaning and Usage

#338E4D is a delicate green color with RGB values of 51, 142, 77 and HSL of 137°, 47%, 38%. This green hue evokes nature and harmony, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #338E4D is #8E3375, creating high-contrast pairings. For softer combinations, try analogous colors like #478E33.

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

Contrast with #338E4D

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

Contrast Ratio: 5.12:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #338E4D?

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

What is the RGB value of #338E4D?

#338E4D in RGB is (51, 142, 77) - 51 red, 142 green, and 77 blue.

How to use #338E4D in CSS?

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

What colors go well with #338E4D?

#8E3375 (complementary), #478E33 (analogous), and #1F562F (lighter shade) work well with #338E4D.