#334F1C Color Information

Hex color code: #334F1C

A dark green shade, #334F1C appears as (51, 79, 28) in RGB and (93°, 48%, 21%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameDark Olive Green
HEX
#334F1C
RGB
51, 79, 28
HSL
93°, 48%, 21%
CMYK
35%, 0%, 65%, 69%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #334F1C; 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 #334F1C; background-color: #334F1C15; }

Alert / Toast

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

Link / Accent

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

a { color: #334F1C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #334F1C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

51, 79, 28

Red: 51 / Green: 79 / Blue: 28

HSL

93°, 48%, 21%

Hue: 93° / Saturation: 48% / Lightness: 21%

CMYK

35%, 0%, 65%, 69%

Cyan: 35% / Magenta: 0% / Yellow: 65% / Key: 69%

What color is #334F1C?

#334F1C is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #334F1C to RGB:

rgb(51, 79, 28)HEX to RGB Converter →

HEX to HSL

Convert #334F1C to HSL:

hsl(93, 48%, 21%)RGB to HSL Converter →

HEX to CMYK

Convert #334F1C to CMYK:

cmyk(35%, 0%, 65%, 69%)Color Converter →

Color Meaning and Usage

A intense green tone, #334F1C has RGB (51, 79, 28) and HSL (93°, 48%, 21%). Known for evoking nature and harmony, this green hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #334F1C is #381C4F, creating high-contrast pairings. For softer combinations, try analogous colors like #4D4F1C.

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

Contrast with #334F1C

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

Contrast Ratio: 2.28:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #334F1C?

#334F1C is a intense green color - a green hue that evokes nature and harmony.

What is the RGB value of #334F1C?

#334F1C in RGB is (51, 79, 28) - 51 red, 79 green, and 28 blue.

How to use #334F1C in CSS?

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

What colors go well with #334F1C?

#381C4F (complementary), #4D4F1C (analogous), and #0F1708 (lighter shade) work well with #334F1C.