COLOR #AFA11F

HEX: #AFA11F RGB: (175,161,31)

Color info

#AFA11F contains mainly red and green colors. Web safe color of #AFA11F is #999933 (or #993).

RGB color model

#AFA11F color RGB value is (175,161,31).

RGB: (175,161,31) (69%, 63%, 12%)

RGB channels and saturation

R 175 of 255 = 69%
G 161 of 255 = 63%
B 31 of 255 = 12%

175
161
31

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

Portions of RGB colors in percentages

R + G + B = 175 + 161 + 31 = 367 (100%)
R 175 of 367 ~ 47.68%
G 161 of 367 ~ 43.87%
B 31 of 367 ~ 8.45'%

%47.68
%43.87

CMYK color model

#AFA11F color CMYK value is (0,8,82,31).

  • cyan value is 0.00%
  • magenta value is 8.00%
  • yellow value is 82.29%
  • key color value is 31.37%

CMYK: (0,8,82,31)
C0M8Y82K31 (0%, 8%, 82%, 31%)
(0.00 / 0.08 / 0.82 / 0.31)

CMYK percentages

%0
%8
%82.29
%31.37

Codes

Color #AFA11F in popluar color models

AF A1 1F
RGB 175 161 31
HSL 54° 69.90% 40.39%
HSB/HSV 54° 82.29% 68.63%
CMYK 0.00% 8.00% 82.29%
31.37%

Color #AFA11F in popluar number systems.

HEX AF A1 1F
Decimal 175 161 31
Binary 10101111 10100001 11111
Octal 257 241 37

Shades and tints

Shades of #AFA11F

#AFA11F
(175,161,31)
#A0931D
(160,147,29)
#91851B
(145,133,27)
#827719
(130,119,25)
#736917
(115,105,23)
#645B15
(100,91,21)
#554D13
(85,77,19)
#463F11
(70,63,17)
#37310F
(55,49,15)
#28230D
(40,35,13)
#19150B
(25,21,11)
#000000
(0,0,0)

Tints of #AFA11F

#AFA11F
(175,161,31)
#B6A933
(182,169,51)
#BDB147
(189,177,71)
#C4B95B
(196,185,91)
#CBC16F
(203,193,111)
#D2C983
(210,201,131)
#D9D197
(217,209,151)
#E0D9AB
(224,217,171)
#E7E1BF
(231,225,191)
#EEE9D3
(238,233,211)
#F5F1E7
(245,241,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #AFA11F color. Also use rgb(175,161,31) instead hex code.

Text Font Color

.myTextColor { color: #AFA11F; }

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

This text font color is #AFA11F.

Background Color

.myBgColor { background-color: #AFA11F; }

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

This div background color is #AFA11F.

Border color

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

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

This div border color is #AFA11F.

Opacity

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

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

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

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

This text has shadow with #AFA11F color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #AFA11F.

Preview

Color preview on black background

This text has color #AFA11F on black background.


Color preview on white background

This text has color #AFA11F on white background.


Black color preview on #AFA11F background

This text has black color on #AFA11F background.


White color preview on #AFA11F background

This text has white color on #AFA11F background.


Related colors

Complementary color

Complementary color for #hex is #505EE0.


I love getcolorcode.com

Triadic colors

1 #1FAFA1 and #A11FAF with #AFA11F are triadic colors.

2 #1FA1AF and #A1AF1F with #AFA11F are triadic colors.