COLOR #D6C217

HEX: #D6C217
RGB: (214,194,23)

Color info

#D6C217 contains mainly red and green colors. Web safe color of #D6C217 is #CCCC00 (or #CC0).

RGB color model

#D6C217 color RGB value is (214,194,23).

  • red value is 214;
  • green value is 194;
  • blue value is 23.
RGB:
(214,194,23)
(84%,76%,9%)

RGB channels and saturation

R 214 of 255 = 84%
G 194 of 255 = 76%
B 23 of 255 = 9%

214
194
23

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

Portions of RGB colors in percentages

R + G + B =
214 + 194 + 23 = 431 (100%)
R 214 of 431 ~ 49.65%
G 194 of 431 ~ 45.01%
B 23 of 431 ~ 5.34%

%49.65
%45.01

CMYK color model

#D6C217 color CMYK value is (0,9,89,16).

  • cyan value is 0.00%
  • magenta value is 9.35%
  • yellow value is 89.25%
  • key color value is 16.08%
CMYK:
(0,9,89,16)
C0M9Y89K16 
(0%,9%,89%,16%)
(0.00/0.09/0.89/0.16)	

CMYK percentages

%0
%9.35
%89.25
%16.08

Codes

Color #D6C217 in popluar color models

D6C217
RGB21419423
HSL54°80.59%46.47%
HSB/HSV54°89.25%83.92%
CMYK0.00%9.35%89.25%
16.08%

Color #D6C217 in popluar number systems.

HEXD6C217
Decimal21419423
Binary110101101100001010111
Octal32630227

Shades and tints

Shades of #D6C217

#D6C217
(214,194,23)
#C3B115
(195,177,21)
#B0A013
(176,160,19)
#9D8F11
(157,143,17)
#8A7E0F
(138,126,15)
#776D0D
(119,109,13)
#645C0B
(100,92,11)
#514B09
(81,75,9)
#3E3A07
(62,58,7)
#2B2905
(43,41,5)
#181803
(24,24,3)
#000000
(0,0,0)

Tints of #D6C217

#D6C217
(214,194,23)
#D9C72C
(217,199,44)
#DCCC41
(220,204,65)
#DFD156
(223,209,86)
#E2D66B
(226,214,107)
#E5DB80
(229,219,128)
#E8E095
(232,224,149)
#EBE5AA
(235,229,170)
#EEEABF
(238,234,191)
#F1EFD4
(241,239,212)
#F4F4E9
(244,244,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D6C217 color. Also use rgb(214,194,23) instead hex code.

Text Font Color

.myTextColor { color: #D6C217; }

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

This text font color is #D6C217.


Background Color

.myBgColor { background-color: #D6C217; }

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

This div background color is #D6C217.


Border color

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

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

This div border color is #D6C217.


Opacity

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

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

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

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

This text has shadow with #D6C217 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D6C217 on black background.


Color preview on white background

This text has color #D6C217 on white background.



Black color preview on #D6C217 background

This text has black color on #D6C217 background.


White color preview on #D6C217 background

This text has white color on #D6C217 background.