#2C5F42
A dark, moderate green closely aligning with Darkslategray.
About #2C5F42
The precise color #2C5F42 is an excellent choice for modern design projects. Its closest recognized web color is Darkslategray. This translates to an RGB value of rgb(44, 95, 66).
When sending designs containing this color to a printer, the CMYK values come into play. Its ink density profile breaks down to 54% cyan, 0% magenta, 31% yellow, and 63% black. This makes it a relatively dark color when applied to physical surfaces.
When using this color as a background, text legibility must be considered. To prevent eye strain, #FFFFFF text pairs best with this hex code. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#2C5F42
RGB44, 95, 66
HSL145.9°, 36.7%, 27.3%
CMYK54%, 0%, 31%, 63%
HSV145.9°, 53.7%, 37.3%
LAB36.2, -24.7, 11.5
XYZ6.1, 9.1, 6.6
Decimal2907970
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
7.44:1
Text on #FFFFFF
AAA
2.82:1
Text on #000000
FAIL
7.11:1
Text on #F8FAFC
AAA
2.40:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #2C5F42;
}
.text-color {
color: #2C5F42;
}
.border-color {
border: 2px solid #2C5F42;
}