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