#AFBA21 Hex color

#AFBA21

The hexadecimal color code #AFBA21 corresponds to the code RGB( 175, 186, 33 ). It's a shade of Yellow. This color is a combination of red (at 0,69 level), green (at 0,73 level) and blue (at 0,13 level). Its brightness is 42% and its saturation is 69%. It is composed of red at 44%, green at 47% and blue at 8%.


Features

Hue

Saturation

Brightness

64
69
42
Shade of Yellow
Hex Code #AFBA21
RGB Code rgb( 175 , 186 , 33)
RGB Code Percentagergb( 68.6% , 72.9% , 12.9% )
HSLhsl( 64 , 69% , 42% )
Complementary
Color
#5045DE


Variations of #AFBA21

Lighter Shades

Palette of gradually lightened shades. The lightest shade of #AFBA21 is the color #F7F8E8

#afba21

Darker Shades

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

#afba21

Other Shades of Yellow

Examples of other colors within the Yellow spectrum .

See more



Color Palettes

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

Complementary color palette

#AFBA21

Triadic palette



Uses of #AFBA21 in CSS

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

#AFBA21 as background color

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

Colored text

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

Border

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

Shadow

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

Similar Colors

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

Choose another color

Select another color on color wheel.

Selected color: