#AFB21A Hex color

#AFB21A

The hexadecimal color code #AFB21A corresponds to the code RGB( 175, 178, 26 ). 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,10 level). Its brightness is 40% and its saturation is 74%. It is composed of red at 46%, green at 46% and blue at 6%.


Features

Hue

Saturation

Brightness

61
74
40
Shade of Yellow
Hex Code #AFB21A
RGB Code rgb( 175 , 178 , 26)
RGB Code Percentagergb( 68.6% , 69.8% , 10.2% )
HSLhsl( 61 , 74% , 40% )
Complementary
Color
#504DE5


Variations of #AFB21A

Lighter Shades

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

#afb21a

Darker Shades

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

#afb21a

Other Shades of Yellow

Examples of other colors within the Yellow spectrum .

See more



Color Palettes

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

Complementary color palette

#AFB21A

Triadic palette



Uses of #AFB21A in CSS

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

#AFB21A as background color

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

Colored text

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

Border

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

Shadow

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

Similar Colors

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

Choose another color

Select another color on color wheel.

Selected color: