#D8C42F Hex color

#D8C42F

The hexadecimal color code #D8C42F corresponds to the code RGB( 216, 196, 47 ). It's a shade of Yellow. This color is a combination of red (at 0,85 level), green (at 0,77 level) and blue (at 0,18 level). Its brightness is 51% and its saturation is 68%. It is composed of red at 47%, green at 42% and blue at 10%.


Features

Hue

Saturation

Brightness

53
68
51
Shade of Yellow
Hex Code #D8C42F
RGB Code rgb( 216 , 196 , 47)
RGB Code Percentagergb( 84.7% , 76.9% , 18.4% )
HSLhsl( 53 , 68% , 51% )
Complementary
Color
#273BD0


Variations of #D8C42F

Lighter Shades

Palette of gradually lightened shades. The lightest shade of #D8C42F is the color #FBF9EA

#d8c42f

Darker Shades

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

#d8c42f

Other Shades of Yellow

Examples of other colors within the Yellow spectrum .

See more



Color Palettes

The complementary color #273BD0 is the color exactly opposite to #D8C42F on the color wheel. The triadic palette is created by selecting two colors that are evenly spaced on the color wheel.

Complementary color palette

#D8C42F

Triadic palette



Uses of #D8C42F in CSS

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

#D8C42F as background color

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

Colored text

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

Border

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

Shadow

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

Similar Colors

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

Choose another color

Select another color on color wheel.

Selected color: