#04250C Color Information

Hex color code: #04250C

A intense green shade, #04250C appears as (4, 37, 12) in RGB and (135°, 80%, 8%) in HSL. It is widely used in graphic design.

Try:
Color NameBlack
HEX
#04250C
RGB
4, 37, 12
HSL
135°, 80%, 8%
CMYK
89%, 0%, 68%, 85%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #04250C; 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 #04250C; background-color: #04250C15; }

Alert / Toast

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

Link / Accent

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

a { color: #04250C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #04250C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

4, 37, 12

Red: 4 / Green: 37 / Blue: 12

HSL

135°, 80%, 8%

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

CMYK

89%, 0%, 68%, 85%

Cyan: 89% / Magenta: 0% / Yellow: 68% / Key: 85%

What color is #04250C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #04250C to RGB:

rgb(4, 37, 12)HEX to RGB Converter →

HEX to HSL

Convert #04250C to HSL:

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

HEX to CMYK

Convert #04250C to CMYK:

cmyk(89%, 0%, 68%, 85%)Color Converter →

Color Meaning and Usage

A intense green tone, #04250C has RGB (4, 37, 12) and HSL (135°, 80%, 8%). Known for evoking sophistication and elegance, this very dark shade is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #04250C is #25041D, creating high-contrast pairings. For softer combinations, try analogous colors like #0C2504.

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

Contrast with #04250C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #04250C?

#04250C is a intense green color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #04250C?

#04250C in RGB is (4, 37, 12) - 4 red, 37 green, and 12 blue.

How to use #04250C in CSS?

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

What colors go well with #04250C?

#25041D (complementary), #0C2504 (analogous), and #000000 (lighter shade) work well with #04250C.