COLOR #D9C398

HEX: #D9C398
RGB: (217,195,152)

Color info

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

RGB color model

#D9C398 color RGB value is (217,195,152).

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

RGB channels and saturation

R 217 of 255 = 85%
G 195 of 255 = 76%
B 152 of 255 = 60%

217
195
152

R + G + B ~ 74%. #D9C398 is quite light color.

Portions of RGB colors in percentages

R + G + B =
217 + 195 + 152 = 564 (100%)
R 217 of 564 ~ 38.48%
G 195 of 564 ~ 34.57%
B 152 of 564 ~ 26.95%

%38.48
%34.57
%26.95

CMYK color model

#D9C398 color CMYK value is (0,10,30,15).

  • cyan value is 0.00%
  • magenta value is 10.14%
  • yellow value is 29.95%
  • key color value is 14.90%
CMYK:
(0,10,30,15)
C0M10Y30K15 
(0%,10%,30%,15%)
(0.00/0.10/0.30/0.15)	

CMYK percentages

%0
%10.14
%29.95
%14.9

Codes

Color #D9C398 in popluar color models

D9C398
RGB217195152
HSL40°46.10%72.35%
HSB/HSV40°29.95%85.10%
CMYK0.00%10.14%29.95%
14.90%

Color #D9C398 in popluar number systems.

HEXD9C398
Decimal217195152
Binary110110011100001110011000
Octal331303230

Shades and tints

Shades of #D9C398

#D9C398
(217,195,152)
#C6B28B
(198,178,139)
#B3A17E
(179,161,126)
#A09071
(160,144,113)
#8D7F64
(141,127,100)
#7A6E57
(122,110,87)
#675D4A
(103,93,74)
#544C3D
(84,76,61)
#413B30
(65,59,48)
#2E2A23
(46,42,35)
#1B1916
(27,25,22)
#000000
(0,0,0)

Tints of #D9C398

#D9C398
(217,195,152)
#DCC8A1
(220,200,161)
#DFCDAA
(223,205,170)
#E2D2B3
(226,210,179)
#E5D7BC
(229,215,188)
#E8DCC5
(232,220,197)
#EBE1CE
(235,225,206)
#EEE6D7
(238,230,215)
#F1EBE0
(241,235,224)
#F4F0E9
(244,240,233)
#F7F5F2
(247,245,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D9C398; }

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

This text font color is #D9C398.


Background Color

.myBgColor { background-color: #D9C398; }

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

This div background color is #D9C398.


Border color

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

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

This div border color is #D9C398.


Opacity

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

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

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

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

This text has shadow with #D9C398 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D9C398 on black background.


Color preview on white background

This text has color #D9C398 on white background.



Black color preview on #D9C398 background

This text has black color on #D9C398 background.


White color preview on #D9C398 background

This text has white color on #D9C398 background.