#306808 Color Information

Hex color code: #306808

#306808 is a dark green color. In RGB it is (48, 104, 8), and in HSL it is (95°, 86%, 22%). It is often used for branding and logos.

Try:
Color NameDark Olive Green
HEX
#306808
RGB
48, 104, 8
HSL
95°, 86%, 22%
CMYK
54%, 0%, 92%, 59%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #306808; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

48, 104, 8

Red: 48 / Green: 104 / Blue: 8

HSL

95°, 86%, 22%

Hue: 95° / Saturation: 86% / Lightness: 22%

CMYK

54%, 0%, 92%, 59%

Cyan: 54% / Magenta: 0% / Yellow: 92% / Key: 59%

What color is #306808?

#306808 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #306808 to RGB:

rgb(48, 104, 8)HEX to RGB Converter →

HEX to HSL

Convert #306808 to HSL:

hsl(95, 86%, 22%)RGB to HSL Converter →

HEX to CMYK

Convert #306808 to CMYK:

cmyk(54%, 0%, 92%, 59%)Color Converter →

Color Meaning and Usage

#306808 is a deep green color with RGB values of 48, 104, 8 and HSL of 95°, 86%, 22%. This highly saturated hue evokes energy and excitement, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #306808 is #400868, creating high-contrast pairings. For softer combinations, try analogous colors like #606808.

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

Contrast with #306808

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #306808?

#306808 is a deep green color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #306808?

#306808 in RGB is (48, 104, 8) - 48 red, 104 green, and 8 blue.

How to use #306808 in CSS?

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

What colors go well with #306808?

#400868 (complementary), #606808 (analogous), and #0F2102 (lighter shade) work well with #306808.