#2A4F17
Dark Green
HEX
RGB
HSL
About #2A4F17 Dark Green
#2A4F17 is a dark green color. In the RGB color model, it is composed of 42 red, 79 green, and 23 blue. In the HSL color space, it has a hue of 100°, saturation of 55%, and lightness of 20%.
This color has a low lightness value, making it a dark color great for text and bold accents. With moderate saturation, it appears balanced and versatile.
CSS Code
Use #2A4F17 in your CSS, SCSS, or Tailwind projects.
Color Properties
100°
Hue
55%
Saturation
20%
Lightness
Dark Green
Color Harmonies
Colors that work well with #2A4F17 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #2A4F17 against white and black backgrounds.
Aa#2A4F17 on White
Contrast Ratio9.42:1
AA ✓AA Large ✓AAA ✓
Aa#2A4F17 on Black
Contrast Ratio2.23:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #2A4F17 across different color formats.
| Format | Value |
|---|---|
| HEX | #2A4F17 |
| RGB | rgb(42, 79, 23) |
| HSL | hsl(100, 55%, 20%) |
| RGB Decimal | 42, 79, 23 |
| RGB Percent | 16.5%, 31.0%, 9.0% |
| CMYK (approx.) | 47%, 0%, 71%, 69% |
Related Palettes
12 palettes using #2A4F17 or similar colors