COLOR #5A8C4A

HEX: #5A8C4A
RGB: (90,140,74)

Color info

#5A8C4A contains mainly red and green colors. Web safe color of #5A8C4A is #669933 (or #693).

RGB color model

#5A8C4A color RGB value is (90,140,74).

  • red value is 90;
  • green value is 140;
  • blue value is 74.
RGB:
(90,140,74)
(35%,55%,29%)

RGB channels and saturation

R 90 of 255 = 35%
G 140 of 255 = 55%
B 74 of 255 = 29%

90
140
74

R + G + B ~ 40%. #5A8C4A is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
90 + 140 + 74 = 304 (100%)
R 90 of 304 ~ 29.61%
G 140 of 304 ~ 46.05%
B 74 of 304 ~ 24.34%

%29.61
%46.05
%24.34

CMYK color model

#5A8C4A color CMYK value is (36,0,47,45).

  • cyan value is 35.71%
  • magenta value is 0.00%
  • yellow value is 47.14%
  • key color value is 45.10%
CMYK:
(36,0,47,45)
C36M0Y47K45 
(36%,0%,47%,45%)
(0.36/0.00/0.47/0.45)	

CMYK percentages

%35.71
%0
%47.14
%45.1

Codes

Color #5A8C4A in popluar color models

5A8C4A
RGB9014074
HSL105°30.84%41.96%
HSB/HSV105°47.14%54.90%
CMYK35.71%0.00%47.14%
45.10%

Color #5A8C4A in popluar number systems.

HEX5A8C4A
Decimal9014074
Binary1011010100011001001010
Octal132214112

Shades and tints

Shades of #5A8C4A

#5A8C4A
(90,140,74)
#528044
(82,128,68)
#4A743E
(74,116,62)
#426838
(66,104,56)
#3A5C32
(58,92,50)
#32502C
(50,80,44)
#2A4426
(42,68,38)
#223820
(34,56,32)
#1A2C1A
(26,44,26)
#122014
(18,32,20)
#0A140E
(10,20,14)
#000000
(0,0,0)

Tints of #5A8C4A

#5A8C4A
(90,140,74)
#69965A
(105,150,90)
#78A06A
(120,160,106)
#87AA7A
(135,170,122)
#96B48A
(150,180,138)
#A5BE9A
(165,190,154)
#B4C8AA
(180,200,170)
#C3D2BA
(195,210,186)
#D2DCCA
(210,220,202)
#E1E6DA
(225,230,218)
#F0F0EA
(240,240,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A8C4A color. Also use rgb(90,140,74) instead hex code.

Text Font Color

.myTextColor { color: #5A8C4A; }

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

This text font color is #5A8C4A.


Background Color

.myBgColor { background-color: #5A8C4A; }

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

This div background color is #5A8C4A.


Border color

.myBorderColor { border: 1px solid #5A8C4A; }

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

This div border color is #5A8C4A.


Opacity

.myOpacity80 { color: #5A8C4A; opacity: 0.8; }

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

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

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

This text has shadow with #5A8C4A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A8C4A on black background.


Color preview on white background

This text has color #5A8C4A on white background.



Black color preview on #5A8C4A background

This text has black color on #5A8C4A background.


White color preview on #5A8C4A background

This text has white color on #5A8C4A background.