Color: #CCB42A
#CCB42A Color Information
#CCB42A is a light color. The closest websafe version is #CCB42A. A complement of this color would be #2A42CB, perceived brightness is 0.67, and the grayscale version is #7B7B7B.
In the HSL color space, this color has a hue angle of 51°,a saturation of 66%, and a lightness of 48%.The HSV representation shows a hue of 51°, a saturation of 100%, and a value of 100%.
In a RGB color space, #CCB42A is composed of 80% red, 71% green and 16% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 12% magenta, 79% yellow and 20% black.
In the Yxy color space, this color is represented as Y: 46.29, x: 0.4539, and y: 0.4750.
Color Code #CCB42A
Shades of Color #CCB42A
Shades are created by darkening the original color #CCB42A in equal steps from 0% to 90%. These shades are perfect for creating depth and contrast in your designs. Use them to add visual hierarchy or highlight specific elements in your projects.
Tints of Color #CCB42A
Tints are created by lightening the original color #CCB42A in equal steps from 0% to 90%, ending with pure white. These tints are ideal for creating soft backgrounds, subtle highlights, or cohesive UI elements that complement your designs.
About #CCB42A Color Code
In the HSL color space, this color has a hue angle of 51°, a saturation of 66%, and a lightness of 48%. The HSV representation shows a hue of 51°, a saturation of 79%, and a value of 80%.
- HEX: #CCB42A
- RGB: rgb(204, 180, 42)
- HSL: hsl(51, 66%, 48%)
- HSV: hsv(51, 79%, 80%)
- CMYK: 0.00% cyan, 12.00% magenta, 79.00% yellow, 20.00% black
- XYZ: 44.24, 46.29, 6.93
- Yxy: 46.29, 0.4539, 0.4750
- Hunter Lab: 73.74, -1.16, 67.15
- CIE-Lab: 73.74, -1.16, 67.15
In the XYZ color space, this color is represented as X: 44.24, Y: 46.29, Z: 6.93. The Yxy representation further refines this as Y: 46.29, x: 0.4539, and y: 0.4750.
In the Hunter Lab color space, this color is represented as L: 73.74, a: -1.16, and b: 67.15. Similarly, in the CIE-Lab color space, it is represented as L: 73.74, a: -1.16, and b: 67.15.
Use these color codes in your CSS, design tools, or anywhere you need to specify a color. You can also explore its shades and tints for more creative options.
Triadic Colors of #CCB42A
Triadic colors are three colors evenly spaced around the color wheel, including #CCB42A. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.
Monochromatic Colors of #CCB42A
Monochromatic colors are variations of #CCB42A, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.
Complementary Color of #CCB42A
The complementary color of #CCB42A is opposite it on the color wheel. Complementary colors provide strong contrast and are ideal for designs that need visual impact and attention.
CSS Examples of #CCB42A
/* Using HEX */ body { background-color: #ccb42a; }
/* Using RGB */ body { background-color: rgb(204, 180, 42); }
/* Using RGB with opacity */ body { background-color: rgba(204, 180, 42, 0.5); }
/* Using HSL */ body { background-color: hsl(51, 66%, 48%); }
/* Text color */ p { color: #ccb42a; }
/* Box shadow */ div { box-shadow: 4px 4px #ccb42a; }
HTML Examples of #CCB42A
<!-- Using HEX --> <div style="background-color: #ccb42a; width: 100px; height: 100px;"></div>
<!-- Using RGB --> <div style="background-color: rgb(204, 180, 42); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity --> <div style="background-color: rgba(204, 180, 42, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL --> <div style="background-color: hsl(51, 66%, 48%); width: 100px; height: 100px;"></div>
<!-- Text color --> <p style="color: #ccb42a;">This is a text example.</p>
<!-- Box shadow --> <div style="box-shadow: 4px 4px #ccb42a; width: 100px; height: 100px;"></div>
Related Colors of #CCB42A
These colors are similar to #CCB42A, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.