#4D6912 Color Information

Hex color code: #4D6912

The hex color #4D6912 is a deep green with RGB values of (77, 105, 18) and HSL of (79°, 71%, 24%). It is frequently seen in web interfaces.

Try:
Color NameDark Olive Green
HEX
#4D6912
RGB
77, 105, 18
HSL
79°, 71%, 24%
CMYK
27%, 0%, 83%, 59%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #4D6912; 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 #4D6912; background-color: #4D691215; }

Alert / Toast

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

Link / Accent

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

a { color: #4D6912; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #4D6912 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

77, 105, 18

Red: 77 / Green: 105 / Blue: 18

HSL

79°, 71%, 24%

Hue: 79° / Saturation: 71% / Lightness: 24%

CMYK

27%, 0%, 83%, 59%

Cyan: 27% / Magenta: 0% / Yellow: 83% / Key: 59%

What color is #4D6912?

#4D6912 is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #4D6912 to RGB:

rgb(77, 105, 18)HEX to RGB Converter →

HEX to HSL

Convert #4D6912 to HSL:

hsl(79, 71%, 24%)RGB to HSL Converter →

HEX to CMYK

Convert #4D6912 to CMYK:

cmyk(27%, 0%, 83%, 59%)Color Converter →

Color Meaning and Usage

A deep green tone, #4D6912 has RGB (77, 105, 18) and HSL (79°, 71%, 24%). Known for evoking nature and harmony, this green hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #4D6912 is #2D1269, creating high-contrast pairings. For softer combinations, try analogous colors like #695912.

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

Contrast with #4D6912

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #4D6912?

#4D6912 is a deep green color - a green hue that evokes nature and harmony.

What is the RGB value of #4D6912?

#4D6912 in RGB is (77, 105, 18) - 77 red, 105 green, and 18 blue.

How to use #4D6912 in CSS?

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

What colors go well with #4D6912?

#2D1269 (complementary), #695912 (analogous), and #1D2707 (lighter shade) work well with #4D6912.