#AFB21F Hex color

#AFB21F

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


Features

Hue

Saturation

Brightness

61
70
40
Shade of Yellow
Hex Code #AFB21F
RGB Code rgb( 175 , 178 , 31)
RGB Code Percentagergb( 68.6% , 69.8% , 12.2% )
HSLhsl( 61 , 70% , 40% )
Complementary
Color
#504DE0


Variations of #AFB21F

Lighter Shades

Palette of gradually lightened shades. The lightest shade of #AFB21F is the color #F7F7E8

#afb21f

Darker Shades

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

#afb21f

Other Shades of Yellow

Examples of other colors within the Yellow spectrum .

See more



Color Palettes

The complementary color #504DE0 is the color exactly opposite to #AFB21F on the color wheel. The triadic palette is created by selecting two colors that are evenly spaced on the color wheel.

Complementary color palette

#AFB21F

Triadic palette



Uses of #AFB21F in CSS

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

#AFB21F as background color

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

Colored text

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

Border

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

Shadow

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

Similar Colors

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

Choose another color

Select another color on color wheel.

Selected color: