Color: #CCD40F

#CCD40F Color Information

#CCD40F is a light color. The closest websafe version is #CCD40F. A complement of this color would be #160FD7, perceived brightness is 0.73, and the grayscale version is #727272.

In the HSL color space, this color has a hue angle of 62°,a saturation of 87%, and a lightness of 45%.The HSV representation shows a hue of 62°, a saturation of 93%, and a value of 83%.

In a RGB color space, #CCD40F is composed of 80% red, 83% green and 6% blue. Whereas in a CMYK color space, it is composed of 4% cyan, 0% magenta, 93% yellow and 17% black.

In the Yxy color space, this color is represented as Y: 60.66, x: 0.4313, and y: 0.5055.

Color Code #CCD40F

#CCD40Frgb(204, 212, 15)
HEX
#CCD40F
RGB
rgb(204, 212, 15)
HSL
hsl(62, 87%, 45%)
HSV
hsv(62, 93%, 83%)
CMYK
4%, 0%, 93%, 17%
XYZ
X: 51.75, Y: 60.66, Z: 7.58
Lab
L: 82.20, a: -16.93, b: 79.08
Name

Shades of Color #CCD40F

Shades are created by darkening the original color #CCD40F 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 #CCD40F

Tints are created by lightening the original color #CCD40F 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.

#CCD40Frgb(204, 212, 15)

About #CCD40F Color Code

In the HSL color space, this color has a hue angle of 62°, a saturation of 87%, and a lightness of 45%. The HSV representation shows a hue of 62°, a saturation of 93%, and a value of 83%.

  • HEX: #CCD40F
  • RGB: rgb(204, 212, 15)
  • HSL: hsl(62, 87%, 45%)
  • HSV: hsv(62, 93%, 83%)
  • CMYK: 4.00% cyan, 0.00% magenta, 93.00% yellow, 17.00% black
  • XYZ: 51.75, 60.66, 7.58
  • Yxy: 60.66, 0.4313, 0.5055
  • Hunter Lab: 82.20, -16.93, 79.08
  • CIE-Lab: 82.20, -16.93, 79.08

In the XYZ color space, this color is represented as X: 51.75, Y: 60.66, Z: 7.58. The Yxy representation further refines this as Y: 60.66, x: 0.4313, and y: 0.5055.

In the Hunter Lab color space, this color is represented as L: 82.20, a: -16.93, and b: 79.08. Similarly, in the CIE-Lab color space, it is represented as L: 82.20, a: -16.93, and b: 79.08.

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 #CCD40F

Triadic colors are three colors evenly spaced around the color wheel, including #CCD40F. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.

Analogous Colors of #CCD40F

Analogous colors are adjacent to #CCD40F on the color wheel. They create harmonious and visually pleasing designs, ideal for projects that need a cohesive look.

Split Complementary Colors of #CCD40F

Split complementary colors are two colors adjacent to the complementary color of #CCD40F. They create a balanced and visually appealing color scheme.

Tetradic Colors of #CCD40F

Tetradic colors form a rectangle on the color wheel, including #CCD40F. They provide vibrant and diverse color schemes for creative designs.

Monochromatic Colors of #CCD40F

Monochromatic colors are variations of #CCD40F, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.

Complementary Color of #CCD40F

The complementary color of #CCD40F 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 #CCD40F

/* Using HEX */
body {
  background-color: #ccd40f;
}
/* Using RGB */
body {
  background-color: rgb(204, 212, 15);
}
/* Using RGB with opacity */
body {
  background-color: rgba(204, 212, 15, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(62, 87%, 45%);
}
/* Text color */
p {
  color: #ccd40f;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #ccd40f;
}
/* Border color */
.box {
  border: 4px solid #ccd40f;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #ccd40f;
}
Text Shadow Preview
/* Background with text */
div {
  background: #ccd40f;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#CCD40F
On Black Background
#CCD40F
On White Background
#CCD40F

HTML Examples of #CCD40F

<!-- Using HEX -->
<div style="background-color: #ccd40f; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(204, 212, 15); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(204, 212, 15, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(62, 87%, 45%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #ccd40f;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #ccd40f; width: 100px; height: 100px;"></div>
<!-- Border color -->
<div style="border: 4px solid #ccd40f; width: 100px; height: 100px;"></div>
<!-- Text shadow -->
<h1 style="color: #222; text-shadow: 2px 2px 0 #ccd40f;">Text Shadow Preview</h1>
Text Shadow Preview
<!-- Background with text -->
<div style="background: #ccd40f; color: #fff; padding: 16px; border-radius: 8px;">
  #CCD40F
</div>
#CCD40F
On Black Background
#CCD40F
On White Background
#CCD40F

Related Colors of #CCD40F

These colors are similar to #CCD40F, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.