#AFA228 Hex color

#AFA228

The hexadecimal color code #AFA228 corresponds to the code RGB( 175, 162, 40 ). It's a shade of Yellow. This color is a combination of red (at 0,69 level), green (at 0,64 level) and blue (at 0,16 level). Its brightness is 42% and its saturation is 62%. It is composed of red at 46%, green at 42% and blue at 10%.


Features

Hue

Saturation

Brightness

54
62
42
Shade of Yellow
Hex Code #AFA228
RGB Code rgb( 175 , 162 , 40)
RGB Code Percentagergb( 68.6% , 63.5% , 15.7% )
HSLhsl( 54 , 62% , 42% )
Complementary
Color
#505DD7


Variations of #AFA228

Lighter Shades

Palette of gradually lightened shades. The lightest shade of #AFA228 is the color #F7F5E9

#afa228

Darker Shades

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

#afa228

Other Shades of Yellow

Examples of other colors within the Yellow spectrum .

See more



Color Palettes

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

Complementary color palette

#AFA228

Triadic palette



Uses of #AFA228 in CSS

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

#AFA228 as background color

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

Colored text

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

Border

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

Shadow

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

Similar Colors

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

Choose another color

Select another color on color wheel.

Selected color: