In the RGB color space, #5D802C is composed of 36.4706% red, 50.1961% green, and 17.2549% blue.
In the CMYK color space, #5D802C is composed of 27.35% cyan, 0% magenta, 65.64% yellow, and 49.8% black,
It has a hue angle of 85.0 degrees, a saturation of 48.85%, and a lightness of 33.73%.
The closest websafe color is #669933.
The hexadecimal color #5D802C has RGB values of R:93, G:128, B:44 and CMYK values of C:27.35, M:0, Y:65.64, K:49.8. It has a decimal value of 6127660.
Hexadecimal | #5D802C | #5D802C |
RGB Decimal | 93, 128, 44 | rgb(93, 128, 44) |
RGB Percent | 36.4706, 50.1961, 17.2549 | rgb(36.4706%, 50.1961%, 17.2549%) |
RGB Proportion | 0.3647, 0.502, 0.1725 | rgb(0.3647, 0.502, 0.1725) |
CMYK | 27.35, 0, 65.64, 49.8 | |
HSL | 85.0ยบ, 48.85, 33.73 | hsl(85.0, 48.85%, 33.73%) |
Websafe | 669933 | #669933 |
XYZ | 12.689, 17.95, 5.178 | |
Yxy | 17.95, 0.354, 0.501 | |
CIE-LAB | 49.435, -26.505, 40.36 | |
CIE-LCH | 49.435, 48.285, 123.293 | |
CIE-LUV | 49.435, -17.49, 48.031 | |
Hunter-Lab | 42.367, -20.682, 22.411 |
Colors that go well with #5D802C.
Common HTML and CSS shortcodes for #5D802C.
<div style="color: #5D802C;">The quick brown fox jumps over the lazy dog.</div>
<div style="background-color: #5D802C;">The quick brown fox jumps over the lazy dog.</div>
<div style="border: 1px solid #5D802C;">The quick brown fox jumps over the lazy dog.</div>
Linear gradient from #5D802C to transparent.
<div style="background: linear-gradient(#5D802C, rgba(255, 255, 255, 0));">The quick brown fox jumps over the lazy dog.</div>
Radial gradient from #5D802C to transparent.
<div style="background: radial-gradient(#5D802C, rgba(255, 255, 255, 0));">The quick brown fox jumps over the lazy dog.</div>
Linear gradient from #5D802C to #A27FD3.
<div style="background: linear-gradient(#5D802C, #A27FD3);">The quick brown fox jumps over the lazy dog.</div>
Radial gradient from #5D802C to #A27FD3.
<div style="background: radial-gradient(#5D802C, #A27FD3);">The quick brown fox jumps over the lazy dog.</div>
Handy CSS code and shortcuts.
.text { color: #5D802C; }
.background { background-color: #5D802C; }
.border { border: 1px solid #5D802C; }
.linear-gradient { background: linear-gradient(#faf310, rgba(255, 255, 255, 0)); }
.radial-gradient { background: radial-gradient(#faf310, rgba(255, 255, 255, 0)); }
Shades are created by adding black to the color, while a tint is created by mixing white. The darkest shade in this example is #020200 while the lightest tint is #FCFDFB.