#004200 Color Information

Hex color code: #004200

The hex color #004200 is a dark green with RGB values of (0, 66, 0) and HSL of (120°, 100%, 13%). It is often used for branding and logos.

Try:
Color NameGreen
HEX
#004200
RGB
0, 66, 0
HSL
120°, 100%, 13%
CMYK
100%, 0%, 100%, 74%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #004200; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

0, 66, 0

Red: 0 / Green: 66 / Blue: 0

HSL

120°, 100%, 13%

Hue: 120° / Saturation: 100% / Lightness: 13%

CMYK

100%, 0%, 100%, 74%

Cyan: 100% / Magenta: 0% / Yellow: 100% / Key: 74%

What color is #004200?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #004200 to RGB:

rgb(0, 66, 0)HEX to RGB Converter →

HEX to HSL

Convert #004200 to HSL:

hsl(120, 100%, 13%)RGB to HSL Converter →

HEX to CMYK

Convert #004200 to CMYK:

cmyk(100%, 0%, 100%, 74%)Color Converter →

Color Meaning and Usage

#004200 is a rich green color with RGB values of 0, 66, 0 and HSL of 120°, 100%, 13%. This very dark shade evokes sophistication and elegance, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #004200 is #420042, creating high-contrast pairings. For softer combinations, try analogous colors like #214200.

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

Contrast with #004200

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #004200?

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

What is the RGB value of #004200?

#004200 in RGB is (0, 66, 0) - 0 red, 66 green, and 0 blue.

How to use #004200 in CSS?

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

What colors go well with #004200?

#420042 (complementary), #214200 (analogous), and #000000 (lighter shade) work well with #004200.