In RGB color space, #0c5f21 hex color has a red value of 12, a green value of 95 and a blue value of 33.
In CMYK color space (used in color printing), #0c5f21 hex color is composed of 87.37% cyan, 0% magenta, 65.26% yellow and 62.75% black.
#0c5f21 color has a hue of 135.2 degrees, a saturation of 77.57% and a lightness of 21%.
#0c5f21 hex color contains mainly GREEN.
The closest web safe color of #0c5f21 is #006633
#0c5f21 hex color has a decimal value of 810785.
HEX | 0c5f21 | #0c5f21 |
---|---|---|
RGB | 12, 95, 33 | rgb(12, 95, 33) |
RGB Percent | 4.71, 37.25, 12.94 | rgb(4.71, 37.25, 12.94) |
CMYK | 87, 0, 65, 63 | |
HSL | 135.2°, 77.57, 21 | hsl(135.2, 77.57%, 21%) |
HSV | 135.2°, 87.4, 37.3 |
XYZ | 4.518, 8.372, 2.817 |
---|---|
Hunter Lab | 28.934, -22.763, 14.482 |
CIE-LAB | 34.746, -37.61, 28.341 |
CIE-LCH | 34.746, 47.093, 143 |
CIE-LUV | 87.37, 0, 65.26, 62.75 |
Web Safe | 006633 |
RGB percent of color #0c5f21
CMYK percent of color #0c5f21
Text with hexadecimal color #0c5f21
This text has a font color of #0c5f21
<p style="color:#0c5f21">Text here</p>
#0c5f21 Background Color
This box has a background color of #0c5f21
<div style="background-color:#0c5f21">Text here</div>
#0c5f21 Border Color
This box has a border color of #0c5f21
<div style="border: 4px solid #0c5f21">Text here</div>
CSS codes
<p style="color:#0c5f21">Text here</p>
<div style="background-color:#0c5f21">Text here</div>
<div style="border: 4px solid #0c5f21">Text here</div>
#0c5f21 Color on white background
This is how a font and box color of #0c5f21 will look
on a white background.
#0c5f21 Color on black background
This is how a font and box color of #0c5f21 hex color will look
on a black background.