#D2C51F Hex color

#D2C51F

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


Features

Hue

Saturation

Brightness

56
74
47
Shade of Yellow
Hex Code #D2C51F
RGB Code rgb( 210 , 197 , 31)
RGB Code Percentagergb( 82.4% , 77.3% , 12.2% )
HSLhsl( 56 , 74% , 47% )
Complementary
Color
#2D3AE0


Variations of #D2C51F

Lighter Shades

Palette of gradually lightened shades. The lightest shade of #D2C51F is the color #FAF9E8

#d2c51f

Darker Shades

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

#d2c51f

Other Shades of Yellow

Examples of other colors within the Yellow spectrum .

See more



Color Palettes

The complementary color #2D3AE0 is the color exactly opposite to #D2C51F on the color wheel. The triadic palette is created by selecting two colors that are evenly spaced on the color wheel.

Complementary color palette

#D2C51F

Triadic palette



Uses of #D2C51F in CSS

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

#D2C51F as background color

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

Colored text

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

Border

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

Shadow

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

Similar Colors

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

Choose another color

Select another color on color wheel.

Selected color: