#074021 Color Information

Hex color code: #074021

The hex color #074021 is a intense green with RGB values of (7, 64, 33) and HSL of (147°, 80%, 14%). It is widely used in graphic design.

Try:
Color NameDark Slate Gray
HEX
#074021
RGB
7, 64, 33
HSL
147°, 80%, 14%
CMYK
89%, 0%, 48%, 75%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #074021; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

7, 64, 33

Red: 7 / Green: 64 / Blue: 33

HSL

147°, 80%, 14%

Hue: 147° / Saturation: 80% / Lightness: 14%

CMYK

89%, 0%, 48%, 75%

Cyan: 89% / Magenta: 0% / Yellow: 48% / Key: 75%

What color is #074021?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #074021 to RGB:

rgb(7, 64, 33)HEX to RGB Converter →

HEX to HSL

Convert #074021 to HSL:

hsl(147, 80%, 14%)RGB to HSL Converter →

HEX to CMYK

Convert #074021 to CMYK:

cmyk(89%, 0%, 48%, 75%)Color Converter →

Color Meaning and Usage

A dramatic green tone, #074021 has RGB (7, 64, 33) and HSL (147°, 80%, 14%). 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 #074021 is #400727, creating high-contrast pairings. For softer combinations, try analogous colors like #0A4007.

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

Contrast with #074021

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #074021?

#074021 is a dramatic green color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #074021?

#074021 in RGB is (7, 64, 33) - 7 red, 64 green, and 33 blue.

How to use #074021 in CSS?

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

What colors go well with #074021?

#400727 (complementary), #0A4007 (analogous), and #000000 (lighter shade) work well with #074021.