COLOR #D8CC79

HEX: #D8CC79 RGB: (216,204,121)

Color info

#D8CC79 contains mainly red and green colors. Web safe color of #D8CC79 is #CCCC66 (or #CC6).

RGB color model

#D8CC79 color RGB value is (216,204,121).

RGB: (216,204,121) (85%, 80%, 47%)

RGB channels and saturation

R 216 of 255 = 85%
G 204 of 255 = 80%
B 121 of 255 = 47%

216
204
121

R + G + B ~ 71%. #D8CC79 is quite light color.

Portions of RGB colors in percentages

R + G + B = 216 + 204 + 121 = 541 (100%)
R 216 of 541 ~ 39.93%
G 204 of 541 ~ 37.71%
B 121 of 541 ~ 22.37'%

%39.93
%37.71
%22.37

CMYK color model

#D8CC79 color CMYK value is (0,6,44,15).

  • cyan value is 0.00%
  • magenta value is 5.56%
  • yellow value is 43.98%
  • key color value is 15.29%

CMYK: (0,6,44,15)
C0M6Y44K15 (0%, 6%, 44%, 15%)
(0.00 / 0.06 / 0.44 / 0.15)

CMYK percentages

%0
%5.56
%43.98
%15.29

Codes

Color #D8CC79 in popluar color models

D8 CC 79
RGB 216 204 121
HSL 52° 54.91% 66.08%
HSB/HSV 52° 43.98% 84.71%
CMYK 0.00% 5.56% 43.98%
15.29%

Color #D8CC79 in popluar number systems.

HEX D8 CC 79
Decimal 216 204 121
Binary 11011000 11001100 1111001
Octal 330 314 171

Shades and tints

Shades of #D8CC79

#D8CC79
(216,204,121)
#C5BA6E
(197,186,110)
#B2A863
(178,168,99)
#9F9658
(159,150,88)
#8C844D
(140,132,77)
#797242
(121,114,66)
#666037
(102,96,55)
#534E2C
(83,78,44)
#403C21
(64,60,33)
#2D2A16
(45,42,22)
#1A180B
(26,24,11)
#000000
(0,0,0)

Tints of #D8CC79

#D8CC79
(216,204,121)
#DBD085
(219,208,133)
#DED491
(222,212,145)
#E1D89D
(225,216,157)
#E4DCA9
(228,220,169)
#E7E0B5
(231,224,181)
#EAE4C1
(234,228,193)
#EDE8CD
(237,232,205)
#F0ECD9
(240,236,217)
#F3F0E5
(243,240,229)
#F6F4F1
(246,244,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D8CC79 color. Also use rgb(216,204,121) instead hex code.

Text Font Color

.myTextColor { color: #D8CC79; }

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

This text font color is #D8CC79.

Background Color

.myBgColor { background-color: #D8CC79; }

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

This div background color is #D8CC79.

Border color

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

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

This div border color is #D8CC79.

Opacity

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

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

Text with #D8CC79 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 #D8CC79;}

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

This text has shadow with #D8CC79 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #D8CC79.

Preview

Color preview on black background

This text has color #D8CC79 on black background.


Color preview on white background

This text has color #D8CC79 on white background.


Black color preview on #D8CC79 background

This text has black color on #D8CC79 background.


White color preview on #D8CC79 background

This text has white color on #D8CC79 background.


Related colors

Complementary color

Complementary color for #hex is #273386.


I love getcolorcode.com

Triadic colors

1 #79D8CC and #CC79D8 with #D8CC79 are triadic colors.

2 #79CCD8 and #CCD879 with #D8CC79 are triadic colors.