COLOR #D2D871

HEX: #D2D871 RGB: (210,216,113)

Color info

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

RGB color model

#D2D871 color RGB value is (210,216,113).

RGB: (210,216,113) (82%, 85%, 44%)

RGB channels and saturation

R 210 of 255 = 82%
G 216 of 255 = 85%
B 113 of 255 = 44%

210
216
113

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

Portions of RGB colors in percentages

R + G + B = 210 + 216 + 113 = 539 (100%)
R 210 of 539 ~ 38.96%
G 216 of 539 ~ 40.07%
B 113 of 539 ~ 20.96'%

%38.96
%40.07
%20.96

CMYK color model

#D2D871 color CMYK value is (3,0,48,15).

  • cyan value is 2.78%
  • magenta value is 0.00%
  • yellow value is 47.69%
  • key color value is 15.29%

CMYK: (3,0,48,15)
C3M0Y48K15 (3%, 0%, 48%, 15%)
(0.03 / 0.00 / 0.48 / 0.15)

CMYK percentages

%2.78
%0
%47.69
%15.29

Codes

Color #D2D871 in popluar color models

D2 D8 71
RGB 210 216 113
HSL 63° 56.91% 64.51%
HSB/HSV 63° 47.69% 84.71%
CMYK 2.78% 0.00% 47.69%
15.29%

Color #D2D871 in popluar number systems.

HEX D2 D8 71
Decimal 210 216 113
Binary 11010010 11011000 1110001
Octal 322 330 161

Shades and tints

Shades of #D2D871

#D2D871
(210,216,113)
#BFC567
(191,197,103)
#ACB25D
(172,178,93)
#999F53
(153,159,83)
#868C49
(134,140,73)
#73793F
(115,121,63)
#606635
(96,102,53)
#4D532B
(77,83,43)
#3A4021
(58,64,33)
#272D17
(39,45,23)
#141A0D
(20,26,13)
#000000
(0,0,0)

Tints of #D2D871

#D2D871
(210,216,113)
#D6DB7D
(214,219,125)
#DADE89
(218,222,137)
#DEE195
(222,225,149)
#E2E4A1
(226,228,161)
#E6E7AD
(230,231,173)
#EAEAB9
(234,234,185)
#EEEDC5
(238,237,197)
#F2F0D1
(242,240,209)
#F6F3DD
(246,243,221)
#FAF6E9
(250,246,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D2D871 color. Also use rgb(210,216,113) instead hex code.

Text Font Color

.myTextColor { color: #D2D871; }

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

This text font color is #D2D871.

Background Color

.myBgColor { background-color: #D2D871; }

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

This div background color is #D2D871.

Border color

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

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

This div border color is #D2D871.

Opacity

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

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

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

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

This text has shadow with #D2D871 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #D2D871.

Preview

Color preview on black background

This text has color #D2D871 on black background.


Color preview on white background

This text has color #D2D871 on white background.


Black color preview on #D2D871 background

This text has black color on #D2D871 background.


White color preview on #D2D871 background

This text has white color on #D2D871 background.


Related colors

Complementary color

Complementary color for #hex is #2D278E.


I love getcolorcode.com

Triadic colors

1 #71D2D8 and #D871D2 with #D2D871 are triadic colors.

2 #71D8D2 and #D8D271 with #D2D871 are triadic colors.