#42AF5F
A medium, moderate green closely aligning with Mediumseagreen.
About #42AF5F
The hex code #42AF5F represents a beautifully specific shade of green. Its closest recognized web color is Mediumseagreen. In the RGB color space, it consists of 66 red, 175 green, and 95 blue.
Translating this color to physical media requires the CMYK color model. To reproduce this shade on paper, a printer utilizes 62% cyan and 0% magenta inks. The HSL representation is 136.0° hue, 45.2% saturation, and 47.3% lightness.
From a UX and accessibility standpoint, contrast is paramount. Mathematical luminance calculations suggest that #000000 text provides the most optimal reading experience. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#42AF5F
RGB66, 175, 95
HSL136.0°, 45.2%, 47.3%
CMYK62%, 0%, 46%, 31%
HSV136.0°, 62.3%, 68.6%
LAB63.9, -48.7, 32.0
XYZ19.6, 32.6, 16.1
Decimal4370271
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
2.79:1
Text on #FFFFFF
FAIL
7.53:1
Text on #000000
AAA
2.67:1
Text on #F8FAFC
FAIL
6.40:1
Text on #0F172A
AA
CSS Implementation
.bg-color {
background-color: #42AF5F;
}
.text-color {
color: #42AF5F;
}
.border-color {
border: 2px solid #42AF5F;
}