COLOR #D8C622

HEX: #D8C622
RGB: (216,198,34)

Color info

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

RGB color model

#D8C622 color RGB value is (216,198,34).

  • red value is 216;
  • green value is 198;
  • blue value is 34.
RGB:
(216,198,34)
(85%,78%,13%)

RGB channels and saturation

R 216 of 255 = 85%
G 198 of 255 = 78%
B 34 of 255 = 13%

216
198
34

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

Portions of RGB colors in percentages

R + G + B =
216 + 198 + 34 = 448 (100%)
R 216 of 448 ~ 48.21%
G 198 of 448 ~ 44.2%
B 34 of 448 ~ 7.59%

%48.21
%44.2

CMYK color model

#D8C622 color CMYK value is (0,8,84,15).

  • cyan value is 0.00%
  • magenta value is 8.33%
  • yellow value is 84.26%
  • key color value is 15.29%
CMYK:
(0,8,84,15)
C0M8Y84K15 
(0%,8%,84%,15%)
(0.00/0.08/0.84/0.15)	

CMYK percentages

%0
%8.33
%84.26
%15.29

Codes

Color #D8C622 in popluar color models

D8C622
RGB21619834
HSL54°72.80%49.02%
HSB/HSV54°84.26%84.71%
CMYK0.00%8.33%84.26%
15.29%

Color #D8C622 in popluar number systems.

HEXD8C622
Decimal21619834
Binary1101100011000110100010
Octal33030642

Shades and tints

Shades of #D8C622

#D8C622
(216,198,34)
#C5B41F
(197,180,31)
#B2A21C
(178,162,28)
#9F9019
(159,144,25)
#8C7E16
(140,126,22)
#796C13
(121,108,19)
#665A10
(102,90,16)
#53480D
(83,72,13)
#40360A
(64,54,10)
#2D2407
(45,36,7)
#1A1204
(26,18,4)
#000000
(0,0,0)

Tints of #D8C622

#D8C622
(216,198,34)
#DBCB36
(219,203,54)
#DED04A
(222,208,74)
#E1D55E
(225,213,94)
#E4DA72
(228,218,114)
#E7DF86
(231,223,134)
#EAE49A
(234,228,154)
#EDE9AE
(237,233,174)
#F0EEC2
(240,238,194)
#F3F3D6
(243,243,214)
#F6F8EA
(246,248,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D8C622 color. Also use rgb(216,198,34) instead hex code.

Text Font Color

.myTextColor { color: #D8C622; }

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

This text font color is #D8C622.


Background Color

.myBgColor { background-color: #D8C622; }

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

This div background color is #D8C622.


Border color

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

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

This div border color is #D8C622.


Opacity

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

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

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

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

This text has shadow with #D8C622 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D8C622 on black background.


Color preview on white background

This text has color #D8C622 on white background.



Black color preview on #D8C622 background

This text has black color on #D8C622 background.


White color preview on #D8C622 background

This text has white color on #D8C622 background.