COLOR #A5B22F

HEX: #A5B22F
RGB: (165,178,47)

Color info

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

RGB color model

#A5B22F color RGB value is (165,178,47).

  • red value is 165;
  • green value is 178;
  • blue value is 47.
RGB:
(165,178,47)
(65%,70%,18%)

RGB channels and saturation

R 165 of 255 = 65%
G 178 of 255 = 70%
B 47 of 255 = 18%

165
178
47

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

Portions of RGB colors in percentages

R + G + B =
165 + 178 + 47 = 390 (100%)
R 165 of 390 ~ 42.31%
G 178 of 390 ~ 45.64%
B 47 of 390 ~ 12.05%

%42.31
%45.64
%12.05

CMYK color model

#A5B22F color CMYK value is (7,0,74,30).

  • cyan value is 7.30%
  • magenta value is 0.00%
  • yellow value is 73.60%
  • key color value is 30.20%
CMYK:
(7,0,74,30)
C7M0Y74K30 
(7%,0%,74%,30%)
(0.07/0.00/0.74/0.30)	

CMYK percentages

%7.3
%0
%73.6
%30.2

Codes

Color #A5B22F in popluar color models

A5B22F
RGB16517847
HSL66°58.22%44.12%
HSB/HSV66°73.60%69.80%
CMYK7.30%0.00%73.60%
30.20%

Color #A5B22F in popluar number systems.

HEXA5B22F
Decimal16517847
Binary1010010110110010101111
Octal24526257

Shades and tints

Shades of #A5B22F

#A5B22F
(165,178,47)
#96A22B
(150,162,43)
#879227
(135,146,39)
#788223
(120,130,35)
#69721F
(105,114,31)
#5A621B
(90,98,27)
#4B5217
(75,82,23)
#3C4213
(60,66,19)
#2D320F
(45,50,15)
#1E220B
(30,34,11)
#0F1207
(15,18,7)
#000000
(0,0,0)

Tints of #A5B22F

#A5B22F
(165,178,47)
#ADB941
(173,185,65)
#B5C053
(181,192,83)
#BDC765
(189,199,101)
#C5CE77
(197,206,119)
#CDD589
(205,213,137)
#D5DC9B
(213,220,155)
#DDE3AD
(221,227,173)
#E5EABF
(229,234,191)
#EDF1D1
(237,241,209)
#F5F8E3
(245,248,227)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #A5B22F color. Also use rgb(165,178,47) instead hex code.

Text Font Color

.myTextColor { color: #A5B22F; }

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

This text font color is #A5B22F.


Background Color

.myBgColor { background-color: #A5B22F; }

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

This div background color is #A5B22F.


Border color

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

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

This div border color is #A5B22F.


Opacity

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

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

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

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

This text has shadow with #A5B22F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #A5B22F on black background.


Color preview on white background

This text has color #A5B22F on white background.



Black color preview on #A5B22F background

This text has black color on #A5B22F background.


White color preview on #A5B22F background

This text has white color on #A5B22F background.