In RGB color space, #afb221 hex color has a red value of 175, a green value of 178 and a blue value of 33.
In CMYK color space (used in color printing), #afb221 hex color is composed of 1.69% cyan, 0% magenta, 81.46% yellow and 30.2% black.
#afb221 color has a hue of 61.2 degrees, a saturation of 68.72% and a lightness of 41.4%.
#afb221 hex color contains mainly GREEN.
The closest web safe color of #afb221 is #999933
#afb221 hex color has a decimal value of 11514401.
HEX | afb221 | #afb221 |
---|---|---|
RGB | 175, 178, 33 | rgb(175, 178, 33) |
RGB Percent | 68.63, 69.8, 12.94 | rgb(68.63, 69.8, 12.94) |
CMYK | 2, 0, 81, 30 | |
HSL | 61.2°, 68.72, 41.4 | hsl(61.2, 68.72%, 41.4%) |
HSV | 61.2°, 81.5, 69.8 |
XYZ | 33.874, 41.065, 7.58 |
---|---|
Hunter Lab | 64.082, -17.788, 37.844 |
CIE-LAB | 70.221, -17.147, 66.383 |
CIE-LCH | 70.221, 68.562, 104.483 |
CIE-LUV | 1.69, 0, 81.46, 30.2 |
Web Safe | 999933 |
RGB percent of color #afb221
CMYK percent of color #afb221
Text with hexadecimal color #afb221
This text has a font color of #afb221
<p style="color:#afb221">Text here</p>
#afb221 Background Color
This box has a background color of #afb221
<div style="background-color:#afb221">Text here</div>
#afb221 Border Color
This box has a border color of #afb221
<div style="border: 4px solid #afb221">Text here</div>
CSS codes
<p style="color:#afb221">Text here</p>
<div style="background-color:#afb221">Text here</div>
<div style="border: 4px solid #afb221">Text here</div>
#afb221 Color on white background
This is how a font and box color of #afb221 will look
on a white background.
#afb221 Color on black background
This is how a font and box color of #afb221 hex color will look
on a black background.