#304F0D Color Information

Hex color code: #304F0D

A dramatic green shade, #304F0D appears as (48, 79, 13) in RGB and (88°, 72%, 18%) in HSL. It is widely used in graphic design.

Try:
Color NameDark Olive Green
HEX
#304F0D
RGB
48, 79, 13
HSL
88°, 72%, 18%
CMYK
39%, 0%, 84%, 69%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #304F0D; 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 #304F0D; background-color: #304F0D15; }

Alert / Toast

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

Link / Accent

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

a { color: #304F0D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #304F0D in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

48, 79, 13

Red: 48 / Green: 79 / Blue: 13

HSL

88°, 72%, 18%

Hue: 88° / Saturation: 72% / Lightness: 18%

CMYK

39%, 0%, 84%, 69%

Cyan: 39% / Magenta: 0% / Yellow: 84% / Key: 69%

What color is #304F0D?

#304F0D is a very dark shade associated with sophistication and elegance.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #304F0D to RGB:

rgb(48, 79, 13)HEX to RGB Converter →

HEX to HSL

Convert #304F0D to HSL:

hsl(88, 72%, 18%)RGB to HSL Converter →

HEX to CMYK

Convert #304F0D to CMYK:

cmyk(39%, 0%, 84%, 69%)Color Converter →

Color Meaning and Usage

A rich green tone, #304F0D has RGB (48, 79, 13) and HSL (88°, 72%, 18%). Known for evoking sophistication and elegance, this very dark shade is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #304F0D is #2C0D4F, creating high-contrast pairings. For softer combinations, try analogous colors like #4F4D0D.

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

Contrast with #304F0D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #304F0D?

#304F0D is a rich green color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #304F0D?

#304F0D in RGB is (48, 79, 13) - 48 red, 79 green, and 13 blue.

How to use #304F0D in CSS?

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

What colors go well with #304F0D?

#2C0D4F (complementary), #4F4D0D (analogous), and #080D02 (lighter shade) work well with #304F0D.