COLOR #DCD998

HEX: #DCD998
RGB: (220,217,152)

Color info

#DCD998 contains mainly red and green colors. Web safe color of #DCD998 is #CCCC99 (or #CC9).

RGB color model

#DCD998 color RGB value is (220,217,152).

  • red value is 220;
  • green value is 217;
  • blue value is 152.
RGB:
(220,217,152)
(86%,85%,60%)

RGB channels and saturation

R 220 of 255 = 86%
G 217 of 255 = 85%
B 152 of 255 = 60%

220
217
152

R + G + B ~ 77%. #DCD998 is quite light color.

Portions of RGB colors in percentages

R + G + B =
220 + 217 + 152 = 589 (100%)
R 220 of 589 ~ 37.35%
G 217 of 589 ~ 36.84%
B 152 of 589 ~ 25.81%

%37.35
%36.84
%25.81

CMYK color model

#DCD998 color CMYK value is (0,1,31,14).

  • cyan value is 0.00%
  • magenta value is 1.36%
  • yellow value is 30.91%
  • key color value is 13.73%
CMYK:
(0,1,31,14)
C0M1Y31K14 
(0%,1%,31%,14%)
(0.00/0.01/0.31/0.14)	

CMYK percentages

%0
%1.36
%30.91
%13.73

Codes

Color #DCD998 in popluar color models

DCD998
RGB220217152
HSL57°49.28%72.94%
HSB/HSV57°30.91%86.27%
CMYK0.00%1.36%30.91%
13.73%

Color #DCD998 in popluar number systems.

HEXDCD998
Decimal220217152
Binary110111001101100110011000
Octal334331230

Shades and tints

Shades of #DCD998

#DCD998
(220,217,152)
#C8C68B
(200,198,139)
#B4B37E
(180,179,126)
#A0A071
(160,160,113)
#8C8D64
(140,141,100)
#787A57
(120,122,87)
#64674A
(100,103,74)
#50543D
(80,84,61)
#3C4130
(60,65,48)
#282E23
(40,46,35)
#141B16
(20,27,22)
#000000
(0,0,0)

Tints of #DCD998

#DCD998
(220,217,152)
#DFDCA1
(223,220,161)
#E2DFAA
(226,223,170)
#E5E2B3
(229,226,179)
#E8E5BC
(232,229,188)
#EBE8C5
(235,232,197)
#EEEBCE
(238,235,206)
#F1EED7
(241,238,215)
#F4F1E0
(244,241,224)
#F7F4E9
(247,244,233)
#FAF7F2
(250,247,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #DCD998 color. Also use rgb(220,217,152) instead hex code.

Text Font Color

.myTextColor { color: #DCD998; }

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

This text font color is #DCD998.


Background Color

.myBgColor { background-color: #DCD998; }

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

This div background color is #DCD998.


Border color

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

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

This div border color is #DCD998.


Opacity

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

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

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

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

This text has shadow with #DCD998 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #DCD998 on black background.


Color preview on white background

This text has color #DCD998 on white background.



Black color preview on #DCD998 background

This text has black color on #DCD998 background.


White color preview on #DCD998 background

This text has white color on #DCD998 background.