#1F7F28
Green
HEX
RGB
HSL
About #1F7F28 Green
#1F7F28 is a green color. In the RGB color model, it is composed of 31 red, 127 green, and 40 blue. In the HSL color space, it has a hue of 126°, saturation of 61%, 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 & Gradients
Use #1F7F28 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
126°
Hue
61%
Saturation
31%
Lightness
Green
Color Harmonies
Colors that work well with #1F7F28 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #1F7F28 against white and black backgrounds.
Aa#1F7F28 on White
Contrast Ratio5.09:1
AA ✓AA Large ✓AAA ✗
Aa#1F7F28 on Black
Contrast Ratio4.12:1
AA ✗AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #1F7F28 across different color formats.
| Format | Value |
|---|---|
| HEX | #1F7F28 |
| RGB | rgb(31, 127, 40) |
| HSL | hsl(126, 61%, 31%) |
| RGB Decimal | 31, 127, 40 |
| RGB Percent | 12.2%, 49.8%, 15.7% |
| CMYK (approx.) | 76%, 0%, 69%, 50% |
Related Palettes
12 palettes using #1F7F28 or similar colors