#D8C002 Hex color

#D8C002

The hexadecimal color code #D8C002 corresponds to the code RGB( 216, 192, 2 ). It's a shade of Yellow. This color is a combination of red (at 0,85 level), green (at 0,75 level) and blue (at 0,01 level). Its brightness is 42% and its saturation is 98%. It is composed of red at 52%, green at 46% and blue at 0%.


Features

Hue

Saturation

Brightness

53
98
42
Shade of Yellow
Hex Code #D8C002
RGB Code rgb( 216 , 192 , 2)
RGB Code Percentagergb( 84.7% , 75.3% , 0.8% )
HSLhsl( 53 , 98% , 42% )
Complementary
Color
#273FFD


Variations of #D8C002

Lighter Shades

Palette of gradually lightened shades. The lightest shade of #D8C002 is the color #FBF8E5

#d8c002

Darker Shades

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

#d8c002

Other Shades of Yellow

Examples of other colors within the Yellow spectrum .

See more



Color Palettes

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

Complementary color palette

#D8C002

Triadic palette



Uses of #D8C002 in CSS

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

#D8C002 as background color

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

Colored text

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

Border

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

Shadow

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

Similar Colors

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

Choose another color

Select another color on color wheel.

Selected color: