#AFAB21 Hex color

#AFAB21

The hexadecimal color code #AFAB21 corresponds to the code RGB( 175, 171, 33 ). It's a shade of Yellow. This color is a combination of red (at 0,69 level), green (at 0,67 level) and blue (at 0,13 level). Its brightness is 40% and its saturation is 68%. It is composed of red at 46%, green at 45% and blue at 8%.


Features

Hue

Saturation

Brightness

58
68
40
Shade of Yellow
Hex Code #AFAB21
RGB Code rgb( 175 , 171 , 33)
RGB Code Percentagergb( 68.6% , 67.1% , 12.9% )
HSLhsl( 58 , 68% , 40% )
Complementary
Color
#5054DE


Variations of #AFAB21

Lighter Shades

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

#afab21

Darker Shades

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

#afab21

Other Shades of Yellow

Examples of other colors within the Yellow spectrum .

See more



Color Palettes

The complementary color #5054DE is the color exactly opposite to #AFAB21 on the color wheel. The triadic palette is created by selecting two colors that are evenly spaced on the color wheel.

Complementary color palette

#AFAB21

Triadic palette



Uses of #AFAB21 in CSS

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

#AFAB21 as background color

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

Colored text

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

Border

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

Shadow

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

Similar Colors

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

Choose another color

Select another color on color wheel.

Selected color: