In a RGB color space, #f0c420 hex color (also known as Moon Yellow) is composed of 94.1% red, 76.9% green and 12.5% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 18.3% magenta, 86.7% yellow and 5.9% black. It has a hue angle of 47.3 degrees, a saturation of 87.4% and a lightness of 53.3%. #f0c420 color hex could be obtained by blending #ffff40 with #e18900. Closest websafe color is: #ffcc33.
The hexadecimal color #f0c420 has RGB values of R:240, G:196, B:32 and CMYK values of C:0, M:0.18, Y:0.87, K:0.06. Its decimal value is 15778848.
Hex triplet | f0c420 | #f0c420 |
RGB Decimal | 240, 196, 32 | rgb(240,196,32) |
RGB Percent | 94.1, 76.9, 12.5 | rgb(94.1%,76.9%,12.5%) |
CMYK | 0, 18.3, 86.7, 5.9 | |
HSL | 47.3°, 87.4, 53.3 | hsl(47.3,87.4%,53.3%) |
HSV(HSB) | 47.3°, 86.7, 94.1 | |
Web Safe | ffcc33 | #fc3 |
XYZ | 55.936, 58.109, 9.635 |
xyY | 0.452, 0.47, 58.109 |
CIE-LAB | 80.8, 1.767, 77.773 |
CIE-LCH | 80.8, 77.793, 88.699 |
CIE-LUV | 80.8, 37.902, 82.397 |
Hunter-Lab | 76.23, -2.422, 45.867 |
Binary | 11110000, 11000100, 00100000 |
Below, you can see some colors close to #f0c420. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
This text has a font color of #f0c420.
<span style="color:#f0c420">Text here</span>
This paragraph has a background color of #f0c420.
<p style="background-color:#f0c420;">Content here</p>
This element has a border color of #f0c420.
<div style="border:1px #f0c420;">Content here</div>
.text {color:#f0c420;}
.background {background-color:#f0c420;}
.border {border:1px solid #f0c420;}
.text-shadow {border:1px solid #f0c420;}
A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #100d01 is the darkest color, while #fffefb is the lightest one.
A tone is produced by adding gray to any pure hue. In this case, #8d8b83 is the less saturated color, while #faca16 is the most saturated one.