COLOR #D8EC97

HEX: #D8EC97 RGB: (216,236,151)

Color info

#D8EC97 contains mainly red and green colors. Web safe color of #D8EC97 is #CCFF99 (or #CF9).

RGB color model

#D8EC97 color RGB value is (216,236,151).

RGB: (216,236,151) (85%, 93%, 59%)

RGB channels and saturation

R 216 of 255 = 85%
G 236 of 255 = 93%
B 151 of 255 = 59%

216
236
151

R + G + B ~ 79%. #D8EC97 is quite light color.

Portions of RGB colors in percentages

R + G + B = 216 + 236 + 151 = 603 (100%)
R 216 of 603 ~ 35.82%
G 236 of 603 ~ 39.14%
B 151 of 603 ~ 25.04'%

%35.82
%39.14
%25.04

CMYK color model

#D8EC97 color CMYK value is (8,0,36,7).

  • cyan value is 8.47%
  • magenta value is 0.00%
  • yellow value is 36.02%
  • key color value is 7.45%

CMYK: (8,0,36,7)
C8M0Y36K7 (8%, 0%, 36%, 7%)
(0.08 / 0.00 / 0.36 / 0.07)

CMYK percentages

%8.47
%0
%36.02
%7.45

Codes

Color #D8EC97 in popluar color models

D8 EC 97
RGB 216 236 151
HSL 74° 69.11% 75.88%
HSB/HSV 74° 36.02% 92.55%
CMYK 8.47% 0.00% 36.02%
7.45%

Color #D8EC97 in popluar number systems.

HEX D8 EC 97
Decimal 216 236 151
Binary 11011000 11101100 10010111
Octal 330 354 227

Shades and tints

Shades of #D8EC97

#D8EC97
(216,236,151)
#C5D78A
(197,215,138)
#B2C27D
(178,194,125)
#9FAD70
(159,173,112)
#8C9863
(140,152,99)
#798356
(121,131,86)
#666E49
(102,110,73)
#53593C
(83,89,60)
#40442F
(64,68,47)
#2D2F22
(45,47,34)
#1A1A15
(26,26,21)
#000000
(0,0,0)

Tints of #D8EC97

#D8EC97
(216,236,151)
#DBEDA0
(219,237,160)
#DEEEA9
(222,238,169)
#E1EFB2
(225,239,178)
#E4F0BB
(228,240,187)
#E7F1C4
(231,241,196)
#EAF2CD
(234,242,205)
#EDF3D6
(237,243,214)
#F0F4DF
(240,244,223)
#F3F5E8
(243,245,232)
#F6F6F1
(246,246,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D8EC97 color. Also use rgb(216,236,151) instead hex code.

Text Font Color

.myTextColor { color: #D8EC97; }

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

This text font color is #D8EC97.

Background Color

.myBgColor { background-color: #D8EC97; }

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

This div background color is #D8EC97.

Border color

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

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

This div border color is #D8EC97.

Opacity

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

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

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

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

This text has shadow with #D8EC97 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #D8EC97.

Preview

Color preview on black background

This text has color #D8EC97 on black background.


Color preview on white background

This text has color #D8EC97 on white background.


Black color preview on #D8EC97 background

This text has black color on #D8EC97 background.


White color preview on #D8EC97 background

This text has white color on #D8EC97 background.


Related colors

Complementary color

Complementary color for #hex is #271368.


I love getcolorcode.com

Triadic colors

1 #97D8EC and #EC97D8 with #D8EC97 are triadic colors.

2 #97ECD8 and #ECD897 with #D8EC97 are triadic colors.