COLOR #D4D81C

HEX: #D4D81C RGB: (212,216,28)

Color info

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

RGB color model

#D4D81C color RGB value is (212,216,28).

RGB: (212,216,28) (83%, 85%, 11%)

RGB channels and saturation

R 212 of 255 = 83%
G 216 of 255 = 85%
B 28 of 255 = 11%

212
216
28

R + G + B ~ 60%. #D4D81C is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 212 + 216 + 28 = 456 (100%)
R 212 of 456 ~ 46.49%
G 216 of 456 ~ 47.37%
B 28 of 456 ~ 6.14'%

%46.49
%47.37

CMYK color model

#D4D81C color CMYK value is (2,0,87,15).

  • cyan value is 1.85%
  • magenta value is 0.00%
  • yellow value is 87.04%
  • key color value is 15.29%

CMYK: (2,0,87,15)
C2M0Y87K15 (2%, 0%, 87%, 15%)
(0.02 / 0.00 / 0.87 / 0.15)

CMYK percentages

%1.85
%0
%87.04
%15.29

Codes

Color #D4D81C in popluar color models

D4 D8 1C
RGB 212 216 28
HSL 61° 77.05% 47.84%
HSB/HSV 61° 87.04% 84.71%
CMYK 1.85% 0.00% 87.04%
15.29%

Color #D4D81C in popluar number systems.

HEX D4 D8 1C
Decimal 212 216 28
Binary 11010100 11011000 11100
Octal 324 330 34

Shades and tints

Shades of #D4D81C

#D4D81C
(212,216,28)
#C1C51A
(193,197,26)
#AEB218
(174,178,24)
#9B9F16
(155,159,22)
#888C14
(136,140,20)
#757912
(117,121,18)
#626610
(98,102,16)
#4F530E
(79,83,14)
#3C400C
(60,64,12)
#292D0A
(41,45,10)
#161A08
(22,26,8)
#000000
(0,0,0)

Tints of #D4D81C

#D4D81C
(212,216,28)
#D7DB30
(215,219,48)
#DADE44
(218,222,68)
#DDE158
(221,225,88)
#E0E46C
(224,228,108)
#E3E780
(227,231,128)
#E6EA94
(230,234,148)
#E9EDA8
(233,237,168)
#ECF0BC
(236,240,188)
#EFF3D0
(239,243,208)
#F2F6E4
(242,246,228)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D4D81C color. Also use rgb(212,216,28) instead hex code.

Text Font Color

.myTextColor { color: #D4D81C; }

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

This text font color is #D4D81C.

Background Color

.myBgColor { background-color: #D4D81C; }

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

This div background color is #D4D81C.

Border color

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

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

This div border color is #D4D81C.

Opacity

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

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

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

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

This text has shadow with #D4D81C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #D4D81C.

Preview

Color preview on black background

This text has color #D4D81C on black background.


Color preview on white background

This text has color #D4D81C on white background.


Black color preview on #D4D81C background

This text has black color on #D4D81C background.


White color preview on #D4D81C background

This text has white color on #D4D81C background.


Related colors

Complementary color

Complementary color for #hex is #2B27E3.


I love getcolorcode.com

Triadic colors

1 #1CD4D8 and #D81CD4 with #D4D81C are triadic colors.

2 #1CD8D4 and #D8D41C with #D4D81C are triadic colors.