COLOR #D5D171

HEX: #D5D171
RGB: (213,209,113)

Color info

#D5D171 contains mainly red and green colors. Web safe color of #D5D171 is #CCCC66 (or #CC6).

RGB color model

#D5D171 color RGB value is (213,209,113).

  • red value is 213;
  • green value is 209;
  • blue value is 113.
RGB:
(213,209,113)
(84%,82%,44%)

RGB channels and saturation

R 213 of 255 = 84%
G 209 of 255 = 82%
B 113 of 255 = 44%

213
209
113

R + G + B ~ 70%. #D5D171 is quite light color.

Portions of RGB colors in percentages

R + G + B =
213 + 209 + 113 = 535 (100%)
R 213 of 535 ~ 39.81%
G 209 of 535 ~ 39.07%
B 113 of 535 ~ 21.12%

%39.81
%39.07
%21.12

CMYK color model

#D5D171 color CMYK value is (0,2,47,16).

  • cyan value is 0.00%
  • magenta value is 1.88%
  • yellow value is 46.95%
  • key color value is 16.47%
CMYK:
(0,2,47,16)
C0M2Y47K16 
(0%,2%,47%,16%)
(0.00/0.02/0.47/0.16)	

CMYK percentages

%0
%1.88
%46.95
%16.47

Codes

Color #D5D171 in popluar color models

D5D171
RGB213209113
HSL58°54.35%63.92%
HSB/HSV58°46.95%83.53%
CMYK0.00%1.88%46.95%
16.47%

Color #D5D171 in popluar number systems.

HEXD5D171
Decimal213209113
Binary11010101110100011110001
Octal325321161

Shades and tints

Shades of #D5D171

#D5D171
(213,209,113)
#C2BE67
(194,190,103)
#AFAB5D
(175,171,93)
#9C9853
(156,152,83)
#898549
(137,133,73)
#76723F
(118,114,63)
#635F35
(99,95,53)
#504C2B
(80,76,43)
#3D3921
(61,57,33)
#2A2617
(42,38,23)
#17130D
(23,19,13)
#000000
(0,0,0)

Tints of #D5D171

#D5D171
(213,209,113)
#D8D57D
(216,213,125)
#DBD989
(219,217,137)
#DEDD95
(222,221,149)
#E1E1A1
(225,225,161)
#E4E5AD
(228,229,173)
#E7E9B9
(231,233,185)
#EAEDC5
(234,237,197)
#EDF1D1
(237,241,209)
#F0F5DD
(240,245,221)
#F3F9E9
(243,249,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D5D171 color. Also use rgb(213,209,113) instead hex code.

Text Font Color

.myTextColor { color: #D5D171; }

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

This text font color is #D5D171.


Background Color

.myBgColor { background-color: #D5D171; }

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

This div background color is #D5D171.


Border color

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

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

This div border color is #D5D171.


Opacity

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

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

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

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

This text has shadow with #D5D171 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D5D171 on black background.


Color preview on white background

This text has color #D5D171 on white background.



Black color preview on #D5D171 background

This text has black color on #D5D171 background.


White color preview on #D5D171 background

This text has white color on #D5D171 background.