In a RGB color space, #ffff40 hex color is composed of 100% red, 100% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 0% magenta, 74.9% yellow and 0% black. It has a hue angle of 60 degrees, a saturation of 100% and a lightness of 62.5%. #ffff40 color hex could be obtained by blending #ffff80 with #ffff00. Closest websafe color is: #ffff33.
The hexadecimal color #ffff40 has RGB values of R:255, G:255, B:64 and CMYK values of C:0, M:0, Y:0.75, K:0. Its decimal value is 16777024.
Hex triplet | ffff40 | #ffff40 |
RGB Decimal | 255, 255, 64 | rgb(255,255,64) |
RGB Percent | 100, 100, 25.1 | rgb(100%,100%,25.1%) |
CMYK | 0, 0, 74.9, 0 | |
HSL | 60°, 100, 62.5 | hsl(60,100%,62.5%) |
HSV(HSB) | 60°, 74.9, 100 | |
Web Safe | ffff33 | #ff3 |
XYZ | 77.925, 93.15, 18.723 |
xyY | 0.411, 0.491, 93.15 |
CIE-LAB | 97.289, -20.344, 84.108 |
CIE-LCH | 97.289, 86.534, 103.597 |
CIE-LUV | 97.289, 7.219, 100.072 |
Hunter-Lab | 96.514, -24.78, 56.058 |
Binary | 11111111, 11111111, 01000000 |
Below, you can see some colors close to #ffff40. 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 #ffff40.
<span style="color:#ffff40">Text here</span>
This paragraph has a background color of #ffff40.
<p style="background-color:#ffff40;">Content here</p>
This element has a border color of #ffff40.
<div style="border:1px #ffff40;">Content here</div>
.text {color:#ffff40;}
.background {background-color:#ffff40;}
.border {border:1px solid #ffff40;}
.text-shadow {border:1px solid #ffff40;}
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, #000000 is the darkest color, while #ffffea is the lightest one.
A tone is produced by adding gray to any pure hue. In this case, #a0a09f is the less saturated color, while #f7f748 is the most saturated one.