COLOR #D8D95F

HEX: #D8D95F RGB: (216,217,95)

Color info

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

RGB color model

#D8D95F color RGB value is (216,217,95).

RGB: (216,217,95) (85%, 85%, 37%)

RGB channels and saturation

R 216 of 255 = 85%
G 217 of 255 = 85%
B 95 of 255 = 37%

216
217
95

R + G + B ~ 69%. #D8D95F is quite light color.

Portions of RGB colors in percentages

R + G + B = 216 + 217 + 95 = 528 (100%)
R 216 of 528 ~ 40.91%
G 217 of 528 ~ 41.1%
B 95 of 528 ~ 17.99'%

%40.91
%41.1
%17.99

CMYK color model

#D8D95F color CMYK value is (0,0,56,15).

  • cyan value is 0.46%
  • magenta value is 0.00%
  • yellow value is 56.22%
  • key color value is 14.90%
CMYK: (0,0,56,15) C0M0Y56K15 (0%,0%,56%,15%) (0.00/0.00/0.56/0.15) 

CMYK percentages

%0.46
%0
%56.22
%14.9

Codes

Color #D8D95F in popluar color models

D8 D9 5F
RGB 216 217 95
HSL 60° 61.62% 61.18%
HSB/HSV 60° 56.22% 85.10%
CMYK 0.46% 0.00% 56.22%
14.90%

Color #D8D95F in popluar number systems.

HEX D8 D9 5F
Decimal 216 217 95
Binary 11011000 11011001 1011111
Octal 330 331 137

Shades and tints

Shades of #D8D95F

#D8D95F
(216,217,95)
#C5C657
(197,198,87)
#B2B34F
(178,179,79)
#9FA047
(159,160,71)
#8C8D3F
(140,141,63)
#797A37
(121,122,55)
#66672F
(102,103,47)
#535427
(83,84,39)
#40411F
(64,65,31)
#2D2E17
(45,46,23)
#1A1B0F
(26,27,15)
#000000
(0,0,0)

Tints of #D8D95F

#D8D95F
(216,217,95)
#DBDC6D
(219,220,109)
#DEDF7B
(222,223,123)
#E1E289
(225,226,137)
#E4E597
(228,229,151)
#E7E8A5
(231,232,165)
#EAEBB3
(234,235,179)
#EDEEC1
(237,238,193)
#F0F1CF
(240,241,207)
#F3F4DD
(243,244,221)
#F6F7EB
(246,247,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D8D95F color. Also use rgb(216,217,95) instead hex code.

Text Font Color

.myTextColor { color: #D8D95F; }

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

This text font color is #D8D95F.

Background Color

.myBgColor { background-color: #D8D95F; }

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

This div background color is #D8D95F.

Border color

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

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

This div border color is #D8D95F.

Opacity

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

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

Text with #D8D95F 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 #'.$colorObj['hex'].';}

<p style="text-shadow: 3px 3px 1px #'.$colorObj['hex'].'">Text here.</p>

'.str_replace('%color%',$colorObj['hex'],$lang['color_style_text_shadow_sample']).'

.textShadow {text-shadow: 3px 3px 1px #'.$colorObj['hex'].', 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #'.$colorObj['hex'].', 5px 5px 20px red">Text here.</p>

'.str_replace('%color%',$colorObj['hex'],$lang['color_style_text_shadow_sample2']).'


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#'.$colorObj['hex'].', Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#'.$colorObj['hex'].', Direction=45, Strength=4)">Text</p>

This text has shadow with #'.$colorObj['hex'].' and red colors in old Internet Explorer.


'.$lang['color_style_box_shadow'].'

 /* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #'.$colorObj['hex'].'; -webkit-box-shadow: 1px 1px 3px 2px #'.$colorObj['hex'].'; box-shadow: 1px 1px 3px 2px #'.$colorObj['hex'].'; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #'.$colorObj['hex'].'; -webkit-box-shadow: 1px 1px 3px 2px #'.$colorObj['hex'].'; box-shadow:1px 1px 3px 2px #'.$colorObj['hex'].';">
Div content here</div>
'.str_replace('%color%',$colorObj['hex'],$lang['color_style_box_shadow_sample']).'

Preview

Color preview on black background

This text has color #D8D95F on black background.


Color preview on white background

This text has color #D8D95F on white background.



Black color preview on #D8D95F background

This text has black color on #D8D95F background.


White color preview on #D8D95F background

This text has white color on #D8D95F background.