In RGB color space, #afa228 hex color has a red value of 175, a green value of 162 and a blue value of 40.
In CMYK color space (used in color printing), #afa228 hex color is composed of 0% cyan, 7.43% magenta, 77.14% yellow and 31.37% black.
#afa228 color has a hue of 54.2 degrees, a saturation of 62.79% and a lightness of 42.2%.
#afa228 hex color contains mainly RED.
The closest web safe color of #afa228 is #999933
#afa228 hex color has a decimal value of 11510312.
HEX | afa228 | #afa228 |
---|---|---|
RGB | 175, 162, 40 | rgb(175, 162, 40) |
RGB Percent | 68.63, 63.53, 15.69 | rgb(68.63, 63.53, 15.69) |
CMYK | 0, 7, 77, 31 | |
HSL | 54.2°, 62.79, 42.2 | hsl(54.2, 62.79%, 42.2%) |
HSV | 54.2°, 77.1, 68.6 |
XYZ | 30.983, 35.108, 7.151 |
---|---|
Hunter Lab | 59.252, -10.353, 34.321 |
CIE-LAB | 65.833, -8.616, 60.398 |
CIE-LCH | 65.833, 61.009, 98.119 |
CIE-LUV | 0, 7.43, 77.14, 31.37 |
Web Safe | 999933 |
RGB percent of color #afa228
CMYK percent of color #afa228
Text with hexadecimal color #afa228
This text has a font color of #afa228
<p style="color:#afa228">Text here</p>
#afa228 Background Color
This box has a background color of #afa228
<div style="background-color:#afa228">Text here</div>
#afa228 Border Color
This box has a border color of #afa228
<div style="border: 4px solid #afa228">Text here</div>
CSS codes
<p style="color:#afa228">Text here</p>
<div style="background-color:#afa228">Text here</div>
<div style="border: 4px solid #afa228">Text here</div>
#afa228 Color on white background
This is how a font and box color of #afa228 will look
on a white background.
#afa228 Color on black background
This is how a font and box color of #afa228 hex color will look
on a black background.