In RGB color space, #31a742 hex color has a red value of 49, a green value of 167 and a blue value of 66.
In CMYK color space (used in color printing), #31a742 hex color is composed of 70.66% cyan, 0% magenta, 60.48% yellow and 34.51% black.
#31a742 color has a hue of 128.6 degrees, a saturation of 54.63% and a lightness of 42.4%.
#31a742 hex color contains mainly GREEN.
The closest web safe color of #31a742 is #339933
#31a742 hex color has a decimal value of 3254082.
HEX | 31a742 | #31a742 |
---|---|---|
RGB | 49, 167, 66 | rgb(49, 167, 66) |
RGB Percent | 19.22, 65.49, 25.88 | rgb(19.22, 65.49, 25.88) |
CMYK | 71, 0, 60, 35 | |
HSL | 128.6°, 54.63, 42.4 | hsl(128.6, 54.63%, 42.4%) |
HSV | 128.6°, 70.7, 65.5 |
XYZ | 16.069, 28.684, 9.844 |
---|---|
Hunter Lab | 53.557, -40.17, 26.593 |
CIE-LAB | 60.502, -53.275, 42.136 |
CIE-LCH | 60.502, 67.924, 141.659 |
CIE-LUV | 70.66, 0, 60.48, 34.51 |
Web Safe | 339933 |
RGB percent of color #31a742
CMYK percent of color #31a742
Text with hexadecimal color #31a742
This text has a font color of #31a742
<p style="color:#31a742">Text here</p>
#31a742 Background Color
This box has a background color of #31a742
<div style="background-color:#31a742">Text here</div>
#31a742 Border Color
This box has a border color of #31a742
<div style="border: 4px solid #31a742">Text here</div>
CSS codes
<p style="color:#31a742">Text here</p>
<div style="background-color:#31a742">Text here</div>
<div style="border: 4px solid #31a742">Text here</div>
#31a742 Color on white background
This is how a font and box color of #31a742 will look
on a white background.
#31a742 Color on black background
This is how a font and box color of #31a742 hex color will look
on a black background.