COLOR #D9C421

HEX: #D9C421
RGB: (217,196,33)

Color info

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

RGB color model

#D9C421 color RGB value is (217,196,33).

  • red value is 217;
  • green value is 196;
  • blue value is 33.
RGB:
(217,196,33)
(85%,77%,13%)

RGB channels and saturation

R 217 of 255 = 85%
G 196 of 255 = 77%
B 33 of 255 = 13%

217
196
33

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

Portions of RGB colors in percentages

R + G + B =
217 + 196 + 33 = 446 (100%)
R 217 of 446 ~ 48.65%
G 196 of 446 ~ 43.95%
B 33 of 446 ~ 7.4%

%48.65
%43.95

CMYK color model

#D9C421 color CMYK value is (0,10,85,15).

  • cyan value is 0.00%
  • magenta value is 9.68%
  • yellow value is 84.79%
  • key color value is 14.90%
CMYK:
(0,10,85,15)
C0M10Y85K15 
(0%,10%,85%,15%)
(0.00/0.10/0.85/0.15)	

CMYK percentages

%0
%9.68
%84.79
%14.9

Codes

Color #D9C421 in popluar color models

D9C421
RGB21719633
HSL53°73.60%49.02%
HSB/HSV53°84.79%85.10%
CMYK0.00%9.68%84.79%
14.90%

Color #D9C421 in popluar number systems.

HEXD9C421
Decimal21719633
Binary1101100111000100100001
Octal33130441

Shades and tints

Shades of #D9C421

#D9C421
(217,196,33)
#C6B31E
(198,179,30)
#B3A21B
(179,162,27)
#A09118
(160,145,24)
#8D8015
(141,128,21)
#7A6F12
(122,111,18)
#675E0F
(103,94,15)
#544D0C
(84,77,12)
#413C09
(65,60,9)
#2E2B06
(46,43,6)
#1B1A03
(27,26,3)
#000000
(0,0,0)

Tints of #D9C421

#D9C421
(217,196,33)
#DCC935
(220,201,53)
#DFCE49
(223,206,73)
#E2D35D
(226,211,93)
#E5D871
(229,216,113)
#E8DD85
(232,221,133)
#EBE299
(235,226,153)
#EEE7AD
(238,231,173)
#F1ECC1
(241,236,193)
#F4F1D5
(244,241,213)
#F7F6E9
(247,246,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D9C421 color. Also use rgb(217,196,33) instead hex code.

Text Font Color

.myTextColor { color: #D9C421; }

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

This text font color is #D9C421.


Background Color

.myBgColor { background-color: #D9C421; }

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

This div background color is #D9C421.


Border color

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

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

This div border color is #D9C421.


Opacity

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

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

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

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

This text has shadow with #D9C421 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D9C421 on black background.


Color preview on white background

This text has color #D9C421 on white background.



Black color preview on #D9C421 background

This text has black color on #D9C421 background.


White color preview on #D9C421 background

This text has white color on #D9C421 background.