In RGB color space, #5f7228 hex color has a red value of 95, a green value of 114 and a blue value of 40.
In CMYK color space (used in color printing), #5f7228 hex color is composed of 16.67% cyan, 0% magenta, 64.91% yellow and 55.29% black.
#5f7228 color has a hue of 75.4 degrees, a saturation of 48.05% and a lightness of 30.2%.
#5f7228 hex color contains mainly GREEN.
The closest web safe color of #5f7228 is #666633
#5f7228 hex color has a decimal value of 6255144.
HEX | 5f7228 | #5f7228 |
---|---|---|
RGB | 95, 114, 40 | rgb(95, 114, 40) |
RGB Percent | 37.25, 44.71, 15.69 | rgb(37.25, 44.71, 15.69) |
CMYK | 17, 0, 65, 55 | |
HSL | 75.4°, 48.05, 30.2 | hsl(75.4, 48.05%, 30.2%) |
HSV | 75.4°, 64.9, 44.7 |
XYZ | 11.12, 14.621, 4.243 |
---|---|
Hunter Lab | 38.237, -15.005, 20.187 |
CIE-LAB | 45.111, -18.863, 37.557 |
CIE-LCH | 45.111, 42.028, 116.668 |
CIE-LUV | 16.67, 0, 64.91, 55.29 |
Web Safe | 666633 |
RGB percent of color #5f7228
CMYK percent of color #5f7228
Text with hexadecimal color #5f7228
This text has a font color of #5f7228
<p style="color:#5f7228">Text here</p>
#5f7228 Background Color
This box has a background color of #5f7228
<div style="background-color:#5f7228">Text here</div>
#5f7228 Border Color
This box has a border color of #5f7228
<div style="border: 4px solid #5f7228">Text here</div>
CSS codes
<p style="color:#5f7228">Text here</p>
<div style="background-color:#5f7228">Text here</div>
<div style="border: 4px solid #5f7228">Text here</div>
#5f7228 Color on white background
This is how a font and box color of #5f7228 will look
on a white background.
#5f7228 Color on black background
This is how a font and box color of #5f7228 hex color will look
on a black background.