#304229 Color Information

Hex color code: #304229

A deep green shade, #304229 appears as (48, 66, 41) in RGB and (103°, 23%, 21%) in HSL. It is commonly used in modern UI design.

Try:
Color NameDark Slate Gray
HEX
#304229
RGB
48, 66, 41
HSL
103°, 23%, 21%
CMYK
27%, 0%, 38%, 74%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #304229; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

48, 66, 41

Red: 48 / Green: 66 / Blue: 41

HSL

103°, 23%, 21%

Hue: 103° / Saturation: 23% / Lightness: 21%

CMYK

27%, 0%, 38%, 74%

Cyan: 27% / Magenta: 0% / Yellow: 38% / Key: 74%

What color is #304229?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #304229 to RGB:

rgb(48, 66, 41)HEX to RGB Converter →

HEX to HSL

Convert #304229 to HSL:

hsl(103, 23%, 21%)RGB to HSL Converter →

HEX to CMYK

Convert #304229 to CMYK:

cmyk(27%, 0%, 38%, 74%)Color Converter →

Color Meaning and Usage

A rich green tone, #304229 has RGB (48, 66, 41) and HSL (103°, 23%, 21%). Known for evoking nature and harmony, this green hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #304229 is #3B2942, creating high-contrast pairings. For softer combinations, try analogous colors like #3D4229.

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

Contrast with #304229

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #304229?

#304229 is a rich green color - a green hue that evokes nature and harmony.

What is the RGB value of #304229?

#304229 in RGB is (48, 66, 41) - 48 red, 66 green, and 41 blue.

How to use #304229 in CSS?

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

What colors go well with #304229?

#3B2942 (complementary), #3D4229 (analogous), and #0E130C (lighter shade) work well with #304229.