#303C2A Color Information

Hex color code: #303C2A

A rich green shade, #303C2A appears as (48, 60, 42) in RGB and (100°, 18%, 20%) in HSL. It is popular in mobile app design.

Try:
Color NameDark Slate Gray
HEX
#303C2A
RGB
48, 60, 42
HSL
100°, 18%, 20%
CMYK
20%, 0%, 30%, 76%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #303C2A; 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 #303C2A; background-color: #303C2A15; }

Alert / Toast

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

Link / Accent

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

a { color: #303C2A; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #303C2A in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

48, 60, 42

Red: 48 / Green: 60 / Blue: 42

HSL

100°, 18%, 20%

Hue: 100° / Saturation: 18% / Lightness: 20%

CMYK

20%, 0%, 30%, 76%

Cyan: 20% / Magenta: 0% / Yellow: 30% / Key: 76%

What color is #303C2A?

#303C2A is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #303C2A to RGB:

rgb(48, 60, 42)HEX to RGB Converter →

HEX to HSL

Convert #303C2A to HSL:

hsl(100, 18%, 20%)RGB to HSL Converter →

HEX to CMYK

Convert #303C2A to CMYK:

cmyk(20%, 0%, 30%, 76%)Color Converter →

Color Meaning and Usage

#303C2A is a dark green color with RGB values of 48, 60, 42 and HSL of 100°, 18%, 20%. This green hue evokes nature and harmony, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #303C2A is #362A3C, creating high-contrast pairings. For softer combinations, try analogous colors like #393C2A.

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

Contrast with #303C2A

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #303C2A?

#303C2A is a dark green color - a green hue that evokes nature and harmony.

What is the RGB value of #303C2A?

#303C2A in RGB is (48, 60, 42) - 48 red, 60 green, and 42 blue.

How to use #303C2A in CSS?

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

What colors go well with #303C2A?

#362A3C (complementary), #393C2A (analogous), and #0C0F0A (lighter shade) work well with #303C2A.