#042012
Dark Green
HEX
RGB
HSL
About #042012 Dark Green
#042012 is a dark green color. In the RGB color model, it is composed of 4 red, 32 green, and 18 blue. In the HSL color space, it has a hue of 150°, saturation of 78%, and lightness of 7%.
This color has a low lightness value, making it a dark color great for text and bold accents. With high saturation, it appears vibrant and eye-catching.
CSS Code & Gradients
Use #042012 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
150°
Hue
78%
Saturation
7%
Lightness
Dark Green
Color Harmonies
Colors that work well with #042012 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #042012 against white and black backgrounds.
Aa#042012 on White
Contrast Ratio17.21:1
AA ✓AA Large ✓AAA ✓
Aa#042012 on Black
Contrast Ratio1.22:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #042012 across different color formats.
| Format | Value |
|---|---|
| HEX | #042012 |
| RGB | rgb(4, 32, 18) |
| HSL | hsl(150, 78%, 7%) |
| RGB Decimal | 4, 32, 18 |
| RGB Percent | 1.6%, 12.5%, 7.1% |
| CMYK (approx.) | 88%, 0%, 44%, 87% |
Related Palettes
12 palettes using #042012 or similar colors