COLOR #D9C217

HEX: #D9C217
RGB: (217,194,23)

Color info

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

RGB color model

#D9C217 color RGB value is (217,194,23).

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

RGB channels and saturation

R 217 of 255 = 85%
G 194 of 255 = 76%
B 23 of 255 = 9%

217
194
23

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

Portions of RGB colors in percentages

R + G + B =
217 + 194 + 23 = 434 (100%)
R 217 of 434 ~ 50%
G 194 of 434 ~ 44.7%
B 23 of 434 ~ 5.3%

%50
%44.7

CMYK color model

#D9C217 color CMYK value is (0,11,89,15).

  • cyan value is 0.00%
  • magenta value is 10.60%
  • yellow value is 89.40%
  • key color value is 14.90%
CMYK:
(0,11,89,15)
C0M11Y89K15 
(0%,11%,89%,15%)
(0.00/0.11/0.89/0.15)	

CMYK percentages

%0
%10.6
%89.4
%14.9

Codes

Color #D9C217 in popluar color models

D9C217
RGB21719423
HSL53°80.83%47.06%
HSB/HSV53°89.40%85.10%
CMYK0.00%10.60%89.40%
14.90%

Color #D9C217 in popluar number systems.

HEXD9C217
Decimal21719423
Binary110110011100001010111
Octal33130227

Shades and tints

Shades of #D9C217

#D9C217
(217,194,23)
#C6B115
(198,177,21)
#B3A013
(179,160,19)
#A08F11
(160,143,17)
#8D7E0F
(141,126,15)
#7A6D0D
(122,109,13)
#675C0B
(103,92,11)
#544B09
(84,75,9)
#413A07
(65,58,7)
#2E2905
(46,41,5)
#1B1803
(27,24,3)
#000000
(0,0,0)

Tints of #D9C217

#D9C217
(217,194,23)
#DCC72C
(220,199,44)
#DFCC41
(223,204,65)
#E2D156
(226,209,86)
#E5D66B
(229,214,107)
#E8DB80
(232,219,128)
#EBE095
(235,224,149)
#EEE5AA
(238,229,170)
#F1EABF
(241,234,191)
#F4EFD4
(244,239,212)
#F7F4E9
(247,244,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D9C217; }

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

This text font color is #D9C217.


Background Color

.myBgColor { background-color: #D9C217; }

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

This div background color is #D9C217.


Border color

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

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

This div border color is #D9C217.


Opacity

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

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

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

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

This text has shadow with #D9C217 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D9C217 on black background.


Color preview on white background

This text has color #D9C217 on white background.



Black color preview on #D9C217 background

This text has black color on #D9C217 background.


White color preview on #D9C217 background

This text has white color on #D9C217 background.