COLOR #A8B21E

HEX: #A8B21E RGB: (168,178,30)

Color info

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

RGB color model

#A8B21E color RGB value is (168,178,30).

RGB: (168,178,30) (66%, 70%, 12%)

RGB channels and saturation

R 168 of 255 = 66%
G 178 of 255 = 70%
B 30 of 255 = 12%

168
178
30

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

Portions of RGB colors in percentages

R + G + B = 168 + 178 + 30 = 376 (100%)
R 168 of 376 ~ 44.68%
G 178 of 376 ~ 47.34%
B 30 of 376 ~ 7.98'%

%44.68
%47.34

CMYK color model

#A8B21E color CMYK value is (6,0,83,30).

  • cyan value is 5.62%
  • magenta value is 0.00%
  • yellow value is 83.15%
  • key color value is 30.20%
CMYK: (6,0,83,30) C6M0Y83K30 (6%,0%,83%,30%) (0.06/0.00/0.83/0.30) 

CMYK percentages

%5.62
%0
%83.15
%30.2

Codes

Color #A8B21E in popluar color models

A8 B2 1E
RGB 168 178 30
HSL 64° 71.15% 40.78%
HSB/HSV 64° 83.15% 69.80%
CMYK 5.62% 0.00% 83.15%
30.20%

Color #A8B21E in popluar number systems.

HEX A8 B2 1E
Decimal 168 178 30
Binary 10101000 10110010 11110
Octal 250 262 36

Shades and tints

Shades of #A8B21E

#A8B21E
(168,178,30)
#99A21C
(153,162,28)
#8A921A
(138,146,26)
#7B8218
(123,130,24)
#6C7216
(108,114,22)
#5D6214
(93,98,20)
#4E5212
(78,82,18)
#3F4210
(63,66,16)
#30320E
(48,50,14)
#21220C
(33,34,12)
#12120A
(18,18,10)
#000000
(0,0,0)

Tints of #A8B21E

#A8B21E
(168,178,30)
#AFB932
(175,185,50)
#B6C046
(182,192,70)
#BDC75A
(189,199,90)
#C4CE6E
(196,206,110)
#CBD582
(203,213,130)
#D2DC96
(210,220,150)
#D9E3AA
(217,227,170)
#E0EABE
(224,234,190)
#E7F1D2
(231,241,210)
#EEF8E6
(238,248,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #A8B21E color. Also use rgb(168,178,30) instead hex code.

Text Font Color

.myTextColor { color: #A8B21E; }

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

This text font color is #A8B21E.

Background Color

.myBgColor { background-color: #A8B21E; }

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

This div background color is #A8B21E.

Border color

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

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

This div border color is #A8B21E.

Opacity

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

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

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

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

This text has shadow with #A8B21E color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #A8B21E.

Preview

Color preview on black background

This text has color #A8B21E on black background.


Color preview on white background

This text has color #A8B21E on white background.


Black color preview on #A8B21E background

This text has black color on #A8B21E background.


White color preview on #A8B21E background

This text has white color on #A8B21E background.


Related colors

Complementary color

Complementary color for #hex is #574DE1.


I love getcolorcode.com

Triadic colors

1 #1EA8B2 and #B21EA8 with #A8B21E are triadic colors.

2 #1EB2A8 and #B2A81E with #A8B21E are triadic colors.