COLOR #D1C42D

HEX: #D1C42D RGB: (209,196,45)

Color info

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

RGB color model

#D1C42D color RGB value is (209,196,45).

RGB: (209,196,45) (82%, 77%, 18%)

RGB channels and saturation

R 209 of 255 = 82%
G 196 of 255 = 77%
B 45 of 255 = 18%

209
196
45

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

Portions of RGB colors in percentages

R + G + B = 209 + 196 + 45 = 450 (100%)
R 209 of 450 ~ 46.44%
G 196 of 450 ~ 43.56%
B 45 of 450 ~ 10'%

%46.44
%43.56

CMYK color model

#D1C42D color CMYK value is (0,6,78,18).

  • cyan value is 0.00%
  • magenta value is 6.22%
  • yellow value is 78.47%
  • key color value is 18.04%

CMYK: (0,6,78,18)
C0M6Y78K18 (0%, 6%, 78%, 18%)
(0.00 / 0.06 / 0.78 / 0.18)

CMYK percentages

%0
%6.22
%78.47
%18.04

Codes

Color #D1C42D in popluar color models

D1 C4 2D
RGB 209 196 45
HSL 55° 64.57% 49.80%
HSB/HSV 55° 78.47% 81.96%
CMYK 0.00% 6.22% 78.47%
18.04%

Color #D1C42D in popluar number systems.

HEX D1 C4 2D
Decimal 209 196 45
Binary 11010001 11000100 101101
Octal 321 304 55

Shades and tints

Shades of #D1C42D

#D1C42D
(209,196,45)
#BEB329
(190,179,41)
#ABA225
(171,162,37)
#989121
(152,145,33)
#85801D
(133,128,29)
#726F19
(114,111,25)
#5F5E15
(95,94,21)
#4C4D11
(76,77,17)
#393C0D
(57,60,13)
#262B09
(38,43,9)
#131A05
(19,26,5)
#000000
(0,0,0)

Tints of #D1C42D

#D1C42D
(209,196,45)
#D5C940
(213,201,64)
#D9CE53
(217,206,83)
#DDD366
(221,211,102)
#E1D879
(225,216,121)
#E5DD8C
(229,221,140)
#E9E29F
(233,226,159)
#EDE7B2
(237,231,178)
#F1ECC5
(241,236,197)
#F5F1D8
(245,241,216)
#F9F6EB
(249,246,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D1C42D color. Also use rgb(209,196,45) instead hex code.

Text Font Color

.myTextColor { color: #D1C42D; }

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

This text font color is #D1C42D.

Background Color

.myBgColor { background-color: #D1C42D; }

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

This div background color is #D1C42D.

Border color

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

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

This div border color is #D1C42D.

Opacity

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

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

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

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

This text has shadow with #D1C42D color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #D1C42D.

Preview

Color preview on black background

This text has color #D1C42D on black background.


Color preview on white background

This text has color #D1C42D on white background.


Black color preview on #D1C42D background

This text has black color on #D1C42D background.


White color preview on #D1C42D background

This text has white color on #D1C42D background.


Related colors

Complementary color

Complementary color for #hex is #2E3BD2.


I love getcolorcode.com

Triadic colors

1 #2DD1C4 and #C42DD1 with #D1C42D are triadic colors.

2 #2DC4D1 and #C4D12D with #D1C42D are triadic colors.