#AFBF28 Hex color

#AFBF28

The hexadecimal color code #AFBF28 corresponds to the code RGB( 175, 191, 40 ). It's a shade of Yellow. This color is a combination of red (at 0,69 level), green (at 0,75 level) and blue (at 0,16 level). Its brightness is 45% and its saturation is 65%. It is composed of red at 43%, green at 47% and blue at 9%.


Features

Hue

Saturation

Brightness

66
65
45
Shade of Yellow
Hex Code #AFBF28
RGB Code rgb( 175 , 191 , 40)
RGB Code Percentagergb( 68.6% , 74.9% , 15.7% )
HSLhsl( 66 , 65% , 45% )
Complementary
Color
#5040D7


Variations of #AFBF28

Lighter Shades

Palette of gradually lightened shades. The lightest shade of #AFBF28 is the color #F7F8E9

#afbf28

Darker Shades

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

#afbf28

Other Shades of Yellow

Examples of other colors within the Yellow spectrum .

See more



Color Palettes

The complementary color #5040D7 is the color exactly opposite to #AFBF28 on the color wheel. The triadic palette is created by selecting two colors that are evenly spaced on the color wheel.

Complementary color palette

#AFBF28

Triadic palette



Uses of #AFBF28 in CSS

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

#AFBF28 as background color

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

Colored text

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

Border

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

Shadow

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

Similar Colors

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

Choose another color

Select another color on color wheel.

Selected color: