In RGB color space, #bab21f hex color has a red value of 186, a green value of 178 and a blue value of 31.
In CMYK color space (used in color printing), #bab21f hex color is composed of 0% cyan, 4.3% magenta, 83.33% yellow and 27.06% black.
#bab21f color has a hue of 56.9 degrees, a saturation of 71.43% and a lightness of 42.5%.
#bab21f hex color contains mainly RED.
The closest web safe color of #bab21f is #cc9933
#bab21f hex color has a decimal value of 12235295.
HEX | bab21f | #bab21f |
---|---|---|
RGB | 186, 178, 31 | rgb(186, 178, 31) |
RGB Percent | 72.94, 69.8, 12.16 | rgb(72.94, 69.8, 12.16) |
CMYK | 0, 4, 83, 27 | |
HSL | 56.9°, 71.43, 42.5 | hsl(56.9, 71.43%, 42.5%) |
HSV | 56.9°, 83.3, 72.9 |
XYZ | 36.417, 42.379, 7.557 |
---|---|
Hunter Lab | 65.099, -14.069, 38.687 |
CIE-LAB | 71.131, -12.412, 68.035 |
CIE-LCH | 71.131, 69.158, 100.339 |
CIE-LUV | 0, 4.3, 83.33, 27.06 |
Web Safe | cc9933 |
RGB percent of color #bab21f
CMYK percent of color #bab21f
Text with hexadecimal color #bab21f
This text has a font color of #bab21f
<p style="color:#bab21f">Text here</p>
#bab21f Background Color
This box has a background color of #bab21f
<div style="background-color:#bab21f">Text here</div>
#bab21f Border Color
This box has a border color of #bab21f
<div style="border: 4px solid #bab21f">Text here</div>
CSS codes
<p style="color:#bab21f">Text here</p>
<div style="background-color:#bab21f">Text here</div>
<div style="border: 4px solid #bab21f">Text here</div>
#bab21f Color on white background
This is how a font and box color of #bab21f will look
on a white background.
#bab21f Color on black background
This is how a font and box color of #bab21f hex color will look
on a black background.