#042412 Color Information

Hex color code: #042412

#042412 is a rich green color. In RGB it is (4, 36, 18), and in HSL it is (146°, 80%, 8%). It is popular in mobile app design.

Try:
Color NameBlack
HEX
#042412
RGB
4, 36, 18
HSL
146°, 80%, 8%
CMYK
89%, 0%, 50%, 86%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #042412; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

4, 36, 18

Red: 4 / Green: 36 / Blue: 18

HSL

146°, 80%, 8%

Hue: 146° / Saturation: 80% / Lightness: 8%

CMYK

89%, 0%, 50%, 86%

Cyan: 89% / Magenta: 0% / Yellow: 50% / Key: 86%

What color is #042412?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #042412 to RGB:

rgb(4, 36, 18)HEX to RGB Converter →

HEX to HSL

Convert #042412 to HSL:

hsl(146, 80%, 8%)RGB to HSL Converter →

HEX to CMYK

Convert #042412 to CMYK:

cmyk(89%, 0%, 50%, 86%)Color Converter →

Color Meaning and Usage

A rich green tone, #042412 has RGB (4, 36, 18) and HSL (146°, 80%, 8%). Known for evoking sophistication and elegance, this very dark shade is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #042412 is #250417, creating high-contrast pairings. For softer combinations, try analogous colors like #062504.

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

Contrast with #042412

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #042412?

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

What is the RGB value of #042412?

#042412 in RGB is (4, 36, 18) - 4 red, 36 green, and 18 blue.

How to use #042412 in CSS?

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

What colors go well with #042412?

#250417 (complementary), #062504 (analogous), and #000000 (lighter shade) work well with #042412.