#42A842
A medium, moderate green closely aligning with Forestgreen.
About #42A842
Visually, #42A842 is defined as a moderate green. Designers often compare it to the standard color Forestgreen. This translates to an RGB value of rgb(66, 168, 66).
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). To reproduce this shade on paper, a printer utilizes 61% cyan and 0% magenta inks. This makes it a relatively light color when applied to physical surfaces.
Contrast ratios determine whether this color is safe for typography. Because it is a medium color, it is generally recommended to use #000000 text. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.
Color Space Conversions
HEX#42A842
RGB66, 168, 66
HSL120.0°, 43.6%, 45.9%
CMYK61%, 0%, 61%, 34%
HSV120.0°, 60.7%, 65.9%
LAB61.3, -50.1, 43.1
XYZ17.2, 29.6, 10.0
Decimal4368450
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
3.04:1
Text on #FFFFFF
AA Large
6.91:1
Text on #000000
AA
2.90:1
Text on #F8FAFC
FAIL
5.88:1
Text on #0F172A
AA
CSS Implementation
.bg-color {
background-color: #42A842;
}
.text-color {
color: #42A842;
}
.border-color {
border: 2px solid #42A842;
}