In RGB color space, #1f8b2a hex color has a red value of 31, a green value of 139 and a blue value of 42.
In CMYK color space (used in color printing), #1f8b2a hex color is composed of 77.7% cyan, 0% magenta, 69.78% yellow and 45.49% black.
#1f8b2a color has a hue of 126.1 degrees, a saturation of 63.53% and a lightness of 33.3%.
#1f8b2a hex color contains mainly GREEN.
The closest web safe color of #1f8b2a is #339933
#1f8b2a hex color has a decimal value of 2067242.
HEX | 1f8b2a | #1f8b2a |
---|---|---|
RGB | 31, 139, 42 | rgb(31, 139, 42) |
RGB Percent | 12.16, 54.51, 16.47 | rgb(12.16, 54.51, 16.47) |
CMYK | 78, 0, 70, 45 | |
HSL | 126.1°, 63.53, 33.3 | hsl(126.1, 63.53%, 33.3%) |
HSV | 126.1°, 77.7, 54.5 |
XYZ | 10.216, 18.924, 5.305 |
---|---|
Hunter Lab | 43.502, -34.209, 23.221 |
CIE-LAB | 50.598, -49.331, 41.777 |
CIE-LCH | 50.598, 64.644, 139.74 |
CIE-LUV | 77.7, 0, 69.78, 45.49 |
Web Safe | 339933 |
RGB percent of color #1f8b2a
CMYK percent of color #1f8b2a
Text with hexadecimal color #1f8b2a
This text has a font color of #1f8b2a
<p style="color:#1f8b2a">Text here</p>
#1f8b2a Background Color
This box has a background color of #1f8b2a
<div style="background-color:#1f8b2a">Text here</div>
#1f8b2a Border Color
This box has a border color of #1f8b2a
<div style="border: 4px solid #1f8b2a">Text here</div>
CSS codes
<p style="color:#1f8b2a">Text here</p>
<div style="background-color:#1f8b2a">Text here</div>
<div style="border: 4px solid #1f8b2a">Text here</div>
#1f8b2a Color on white background
This is how a font and box color of #1f8b2a will look
on a white background.
#1f8b2a Color on black background
This is how a font and box color of #1f8b2a hex color will look
on a black background.