#42AF42
A medium, moderate green closely aligning with Forestgreen.
About #42AF42
When working with digital screens, the color #42AF42 is rendered by mixing light. It is closely associated with the named CSS color Forestgreen. This translates to an RGB value of rgb(66, 175, 66).
When sending designs containing this color to a printer, the CMYK values come into play. This specific hue requires a mix of 62% C, 0% M, 62% Y, and 31% K. 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#42AF42
RGB66, 175, 66
HSL120.0°, 45.2%, 47.3%
CMYK62%, 0%, 62%, 31%
HSV120.0°, 62.3%, 68.6%
LAB63.5, -52.7, 45.7
XYZ18.6, 32.2, 10.4
Decimal4370242
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
2.82:1
Text on #FFFFFF
FAIL
7.44:1
Text on #000000
AAA
2.70:1
Text on #F8FAFC
FAIL
6.33:1
Text on #0F172A
AA
CSS Implementation
.bg-color {
background-color: #42AF42;
}
.text-color {
color: #42AF42;
}
.border-color {
border: 2px solid #42AF42;
}