#2F7D21
Green
HEX
RGB
HSL
About #2F7D21 Green
#2F7D21 is a green color. In the RGB color model, it is composed of 47 red, 125 green, and 33 blue. In the HSL color space, it has a hue of 111°, saturation of 58%, and lightness of 31%.
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 #2F7D21 in your CSS, SCSS, or Tailwind projects.
Color Properties
111°
Hue
58%
Saturation
31%
Lightness
Green
Color Harmonies
Colors that work well with #2F7D21 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #2F7D21 against white and black backgrounds.
Aa#2F7D21 on White
Contrast Ratio5.15:1
AA ✓AA Large ✓AAA ✗
Aa#2F7D21 on Black
Contrast Ratio4.08:1
AA ✗AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #2F7D21 across different color formats.
| Format | Value |
|---|---|
| HEX | #2F7D21 |
| RGB | rgb(47, 125, 33) |
| HSL | hsl(111, 58%, 31%) |
| RGB Decimal | 47, 125, 33 |
| RGB Percent | 18.4%, 49.0%, 12.9% |
| CMYK (approx.) | 62%, 0%, 74%, 51% |
Related Palettes
12 palettes using #2F7D21 or similar colors