#AFAF51 Hex color

#AFAF51

The hexadecimal color code #AFAF51 corresponds to the code RGB( 175, 175, 81 ). 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,32 level). Its brightness is 50% and its saturation is 37%. It is composed of red at 40%, green at 40% and blue at 18%.


Features

Hue

Saturation

Brightness

60
37
50
Shade of Yellow
Hex Code #AFAF51
RGB Code rgb( 175 , 175 , 81)
RGB Code Percentagergb( 68.6% , 68.6% , 31.8% )
HSLhsl( 60 , 37% , 50% )
Complementary
Color
#5050AE


Variations of #AFAF51

Lighter Shades

Palette of gradually lightened shades. The lightest shade of #AFAF51 is the color #F7F7ED

#afaf51

Darker Shades

Palette of progressively darker shades. The darkest shade is #111108.

#afaf51

Other Shades of Yellow

Examples of other colors within the Yellow spectrum .

See more



Color Palettes

The complementary color #5050AE is the color exactly opposite to #AFAF51 on the color wheel. The triadic palette is created by selecting two colors that are evenly spaced on the color wheel.

Complementary color palette

#AFAF51

Triadic palette



Uses of #AFAF51 in CSS

When using #AFAF51 as the background color, consider selecting a darker text color for improved readability. If you want to use #AFAF51 as the text color, prefer a dark background, such as Black.

#AFAF51 as background color

Black text
White text
div{ background: #AFAF51;  }

Colored text

With a white background or
with a dark background
div{ color: #AFAF51;  }

Border

#AFAF51 colored border with a width of 3px
div{ border: 3px solid #AFAF51;  }

Shadow

#AFAF51 shadow colored
div{ box-shadow: 3px 3px 7px #AFAF51; }

Similar Colors

Other color codes similar or equivalent to the specified color code #AFAF51.

Choose another color

Select another color on color wheel.

Selected color: