#AFD21F Hex color

#AFD21F

The hexadecimal color code #AFD21F corresponds to the code RGB( 175, 210, 31 ). It's a shade of Yellow. This color is a combination of red (at 0,69 level), green (at 0,82 level) and blue (at 0,12 level). Its brightness is 47% and its saturation is 74%. It is composed of red at 42%, green at 50% and blue at 7%.


Features

Hue

Saturation

Brightness

72
74
47
Shade of Yellow
Hex Code #AFD21F
RGB Code rgb( 175 , 210 , 31)
RGB Code Percentagergb( 68.6% , 82.4% , 12.2% )
HSLhsl( 72 , 74% , 47% )
Complementary
Color
#502DE0


Variations of #AFD21F

Lighter Shades

Palette of gradually lightened shades. The lightest shade of #AFD21F is the color #F7FAE8

#afd21f

Darker Shades

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

#afd21f

Other Shades of Yellow

Examples of other colors within the Yellow spectrum .

See more



Color Palettes

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

Complementary color palette

#AFD21F

Triadic palette



Uses of #AFD21F in CSS

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

#AFD21F as background color

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

Colored text

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

Border

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

Shadow

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

Similar Colors

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

Choose another color

Select another color on color wheel.

Selected color: