#AFA51F Hex color

#AFA51F

The hexadecimal color code #AFA51F corresponds to the code RGB( 175, 165, 31 ). It's a shade of Yellow. This color is a combination of red (at 0,69 level), green (at 0,65 level) and blue (at 0,12 level). Its brightness is 40% and its saturation is 69%. It is composed of red at 47%, green at 44% and blue at 8%.


Features

Hue

Saturation

Brightness

56
69
40
Shade of Yellow
Hex Code #AFA51F
RGB Code rgb( 175 , 165 , 31)
RGB Code Percentagergb( 68.6% , 64.7% , 12.2% )
HSLhsl( 56 , 69% , 40% )
Complementary
Color
#505AE0


Variations of #AFA51F

Lighter Shades

Palette of gradually lightened shades. The lightest shade of #AFA51F is the color #F7F6E8

#afa51f

Darker Shades

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

#afa51f

Other Shades of Yellow

Examples of other colors within the Yellow spectrum .

See more



Color Palettes

The complementary color #505AE0 is the color exactly opposite to #AFA51F on the color wheel. The triadic palette is created by selecting two colors that are evenly spaced on the color wheel.

Complementary color palette

#AFA51F

Triadic palette



Uses of #AFA51F in CSS

When using #AFA51F as the background color, consider selecting a lighter text color for improved readability. If you want to use #AFA51F as the text color, prefer a light background, such as Blanc.

#AFA51F as background color

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

Colored text

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

Border

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

Shadow

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

Similar Colors

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

Choose another color

Select another color on color wheel.

Selected color: