#D8B21C Hex color

#D8B21C

The hexadecimal color code #D8B21C corresponds to the code RGB( 216, 178, 28 ). It's a shade of Yellow. This color is a combination of red (at 0,85 level), green (at 0,70 level) and blue (at 0,11 level). Its brightness is 47% and its saturation is 77%. It is composed of red at 51%, green at 42% and blue at 6%.


Features

Hue

Saturation

Brightness

48
77
47
Shade of Yellow
Hex Code #D8B21C
RGB Code rgb( 216 , 178 , 28)
RGB Code Percentagergb( 84.7% , 69.8% , 11.0% )
HSLhsl( 48 , 77% , 47% )
Complementary
Color
#274DE3


Variations of #D8B21C

Lighter Shades

Palette of gradually lightened shades. The lightest shade of #D8B21C is the color #FBF7E8

#d8b21c

Darker Shades

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

#d8b21c

Other Shades of Yellow

Examples of other colors within the Yellow spectrum .

See more



Color Palettes

The complementary color #274DE3 is the color exactly opposite to #D8B21C on the color wheel. The triadic palette is created by selecting two colors that are evenly spaced on the color wheel.

Complementary color palette

#D8B21C

Triadic palette



Uses of #D8B21C in CSS

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

#D8B21C as background color

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

Colored text

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

Border

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

Shadow

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

Similar Colors

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

Choose another color

Select another color on color wheel.

Selected color: