COLOR #D8C536

HEX: #D8C536
RGB: (216,197,54)

Color info

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

RGB color model

#D8C536 color RGB value is (216,197,54).

  • red value is 216;
  • green value is 197;
  • blue value is 54.
RGB:
(216,197,54)
(85%,77%,21%)

RGB channels and saturation

R 216 of 255 = 85%
G 197 of 255 = 77%
B 54 of 255 = 21%

216
197
54

R + G + B ~ 61%. #D8C536 is quite light color.

Portions of RGB colors in percentages

R + G + B =
216 + 197 + 54 = 467 (100%)
R 216 of 467 ~ 46.25%
G 197 of 467 ~ 42.18%
B 54 of 467 ~ 11.56%

%46.25
%42.18
%11.56

CMYK color model

#D8C536 color CMYK value is (0,9,75,15).

  • cyan value is 0.00%
  • magenta value is 8.80%
  • yellow value is 75.00%
  • key color value is 15.29%
CMYK:
(0,9,75,15)
C0M9Y75K15 
(0%,9%,75%,15%)
(0.00/0.09/0.75/0.15)	

CMYK percentages

%0
%8.8
%75
%15.29

Codes

Color #D8C536 in popluar color models

D8C536
RGB21619754
HSL53°67.50%52.94%
HSB/HSV53°75.00%84.71%
CMYK0.00%8.80%75.00%
15.29%

Color #D8C536 in popluar number systems.

HEXD8C536
Decimal21619754
Binary1101100011000101110110
Octal33030566

Shades and tints

Shades of #D8C536

#D8C536
(216,197,54)
#C5B432
(197,180,50)
#B2A32E
(178,163,46)
#9F922A
(159,146,42)
#8C8126
(140,129,38)
#797022
(121,112,34)
#665F1E
(102,95,30)
#534E1A
(83,78,26)
#403D16
(64,61,22)
#2D2C12
(45,44,18)
#1A1B0E
(26,27,14)
#000000
(0,0,0)

Tints of #D8C536

#D8C536
(216,197,54)
#DBCA48
(219,202,72)
#DECF5A
(222,207,90)
#E1D46C
(225,212,108)
#E4D97E
(228,217,126)
#E7DE90
(231,222,144)
#EAE3A2
(234,227,162)
#EDE8B4
(237,232,180)
#F0EDC6
(240,237,198)
#F3F2D8
(243,242,216)
#F6F7EA
(246,247,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D8C536 color. Also use rgb(216,197,54) instead hex code.

Text Font Color

.myTextColor { color: #D8C536; }

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

This text font color is #D8C536.


Background Color

.myBgColor { background-color: #D8C536; }

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

This div background color is #D8C536.


Border color

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

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

This div border color is #D8C536.


Opacity

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

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

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

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

This text has shadow with #D8C536 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D8C536 on black background.


Color preview on white background

This text has color #D8C536 on white background.



Black color preview on #D8C536 background

This text has black color on #D8C536 background.


White color preview on #D8C536 background

This text has white color on #D8C536 background.