COLOR #D8C927

HEX: #D8C927
RGB: (216,201,39)

Color info

#D8C927 contains mainly red and green colors. Web safe color of #D8C927 is #CCCC33 (or #CC3).

RGB color model

#D8C927 color RGB value is (216,201,39).

  • red value is 216;
  • green value is 201;
  • blue value is 39.
RGB:
(216,201,39)
(85%,79%,15%)

RGB channels and saturation

R 216 of 255 = 85%
G 201 of 255 = 79%
B 39 of 255 = 15%

216
201
39

R + G + B ~ 60%. #D8C927 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
216 + 201 + 39 = 456 (100%)
R 216 of 456 ~ 47.37%
G 201 of 456 ~ 44.08%
B 39 of 456 ~ 8.55%

%47.37
%44.08

CMYK color model

#D8C927 color CMYK value is (0,7,82,15).

  • cyan value is 0.00%
  • magenta value is 6.94%
  • yellow value is 81.94%
  • key color value is 15.29%
CMYK:
(0,7,82,15)
C0M7Y82K15 
(0%,7%,82%,15%)
(0.00/0.07/0.82/0.15)	

CMYK percentages

%0
%6.94
%81.94
%15.29

Codes

Color #D8C927 in popluar color models

D8C927
RGB21620139
HSL55°69.41%50.00%
HSB/HSV55°81.94%84.71%
CMYK0.00%6.94%81.94%
15.29%

Color #D8C927 in popluar number systems.

HEXD8C927
Decimal21620139
Binary1101100011001001100111
Octal33031147

Shades and tints

Shades of #D8C927

#D8C927
(216,201,39)
#C5B724
(197,183,36)
#B2A521
(178,165,33)
#9F931E
(159,147,30)
#8C811B
(140,129,27)
#796F18
(121,111,24)
#665D15
(102,93,21)
#534B12
(83,75,18)
#40390F
(64,57,15)
#2D270C
(45,39,12)
#1A1509
(26,21,9)
#000000
(0,0,0)

Tints of #D8C927

#D8C927
(216,201,39)
#DBCD3A
(219,205,58)
#DED14D
(222,209,77)
#E1D560
(225,213,96)
#E4D973
(228,217,115)
#E7DD86
(231,221,134)
#EAE199
(234,225,153)
#EDE5AC
(237,229,172)
#F0E9BF
(240,233,191)
#F3EDD2
(243,237,210)
#F6F1E5
(246,241,229)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D8C927 color. Also use rgb(216,201,39) instead hex code.

Text Font Color

.myTextColor { color: #D8C927; }

<p style="color:#D8C927">This sample text font color is #D8C927.</p>

This text font color is #D8C927.


Background Color

.myBgColor { background-color: #D8C927; }

<div style="background-color:#D8C927">Inner text</div>

This div background color is #D8C927.


Border color

.myBorderColor { border: 1px solid #D8C927; }

<div style="border:3px solid #D8C927">Div</div>

This div border color is #D8C927.


Opacity

.myOpacity80 { color: #D8C927; opacity: 0.8; }

<p style="color:#D8C927;opacity:0.8;">80%</p>

Text with #D8C927 color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #D8C927;}

<p style="text-shadow: 3px 3px 1px #D8C927">Text here.</p>

This text has shadow with #D8C927 color.

.textShadow {text-shadow: 3px 3px 1px #D8C927, 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #D8C927, 5px 5px 20px red">Text here.</p>

This text has shadow with #D8C927 primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D8C927, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#D8C927, Direction=45, Strength=4)">Text</p>

This text has shadow with #D8C927 and red colors in old Internet Explorer.


Div box shadow color

/* css code */
.divShadow
{
  -moz-box-shadow:	1px 1px 3px 2px #D8C927;
  -webkit-box-shadow:	1px 1px 3px 2px #D8C927;
  box-shadow:		1px 1px 3px 2px #D8C927;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #D8C927;
-webkit-box-shadow: 1px 1px 3px 2px #D8C927;
box-shadow:1px 1px 3px 2px #D8C927;">
Div content here</div>
This div box has shadow with color #D8C927.

Preview

Color preview on black background

This text has color #D8C927 on black background.


Color preview on white background

This text has color #D8C927 on white background.



Black color preview on #D8C927 background

This text has black color on #D8C927 background.


White color preview on #D8C927 background

This text has white color on #D8C927 background.