#AFAF42 Hex color
The hexadecimal color code #AFAF42 corresponds to the code RGB( 175, 175, 66 ). It's a shade of Yellow. This color is a combination of red (at 0,69 level), green (at 0,69 level) and blue (at 0,26 level). Its brightness is 47% and its saturation is 45%. It is composed of red at 42%, green at 42% and blue at 15%.
Features
Variations of #AFAF42
Lighter Shades
Palette of gradually lightened shades. The lightest shade of #AFAF42 is the color #F7F7EC
Darker Shades
Palette of progressively darker shades. The darkest shade is #111106.
Other Shades of Yellow
Examples of other colors within the Yellow spectrum .
Color Palettes
The complementary color #5050BD is the color exactly opposite to #AFAF42 on the color wheel. The triadic palette is created by selecting two colors that are evenly spaced on the color wheel.
Uses of #AFAF42 in CSS
When using #AFAF42 as the background color, consider selecting a darker text color for improved readability. If you want to use #AFAF42 as the text color, prefer a dark background, such as Black.
#AFAF42 as background color
div{ background: #AFAF42; }
Colored text
div{ color: #AFAF42; }
Border
div{ border: 3px solid #AFAF42; }
Shadow
div{ box-shadow: 3px 3px 7px #AFAF42; }
Similar Colors
Other color codes similar or equivalent to the specified color code #AFAF42.
Choose another color
Select another color on color wheel.