#334840
Dark Green
HEX
RGB
HSL
About #334840 Dark Green
#334840 is a dark green color. In the RGB color model, it is composed of 51 red, 72 green, and 64 blue. In the HSL color space, it has a hue of 157°, saturation of 17%, and lightness of 24%.
This color has a low lightness value, making it a dark color great for text and bold accents. With low saturation, it appears muted and subtle.
CSS Code
Use #334840 in your CSS, SCSS, or Tailwind projects.
Color Properties
157°
Hue
17%
Saturation
24%
Lightness
Dark Green
Color Harmonies
Colors that work well with #334840 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #334840 against white and black backgrounds.
Aa#334840 on White
Contrast Ratio9.81:1
AA ✓AA Large ✓AAA ✓
Aa#334840 on Black
Contrast Ratio2.14:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #334840 across different color formats.
| Format | Value |
|---|---|
| HEX | #334840 |
| RGB | rgb(51, 72, 64) |
| HSL | hsl(157, 17%, 24%) |
| RGB Decimal | 51, 72, 64 |
| RGB Percent | 20.0%, 28.2%, 25.1% |
| CMYK (approx.) | 29%, 0%, 11%, 72% |
Related Palettes
12 palettes using #334840 or similar colors