Color: #CCD40C

#CCD40C Color Information

#CCD40C is a light color. The closest websafe version is #CCD40C. A complement of this color would be #130CD4, perceived brightness is 0.73, and the grayscale version is #707070.

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

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

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

Color Code #CCD40C

#CCD40Crgb(204, 212, 12)
HEX
#CCD40C
RGB
rgb(204, 212, 12)
HSL
hsl(62, 89%, 44%)
HSV
hsv(62, 94%, 83%)
CMYK
4%, 0%, 94%, 17%
XYZ
X: 51.74, Y: 60.66, Z: 7.50
Lab
L: 82.19, a: -16.95, b: 79.39
Name

Shades of Color #CCD40C

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

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

#CCD40Crgb(204, 212, 12)

About #CCD40C Color Code

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

  • HEX: #CCD40C
  • RGB: rgb(204, 212, 12)
  • HSL: hsl(62, 89%, 44%)
  • HSV: hsv(62, 94%, 83%)
  • CMYK: 4.00% cyan, 0.00% magenta, 94.00% yellow, 17.00% black
  • XYZ: 51.74, 60.66, 7.50
  • Yxy: 60.66, 0.4315, 0.5059
  • Hunter Lab: 82.19, -16.95, 79.39
  • CIE-Lab: 82.19, -16.95, 79.39

In the XYZ color space, this color is represented as X: 51.74, Y: 60.66, Z: 7.50. The Yxy representation further refines this as Y: 60.66, x: 0.4315, and y: 0.5059.

In the Hunter Lab color space, this color is represented as L: 82.19, a: -16.95, and b: 79.39. Similarly, in the CIE-Lab color space, it is represented as L: 82.19, a: -16.95, and b: 79.39.

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

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

Analogous Colors of #CCD40C

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

Monochromatic Colors of #CCD40C

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

Complementary Color of #CCD40C

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

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

HTML Examples of #CCD40C

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

Related Colors of #CCD40C

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