Color: #CCF21F

#CCF21F Color Information

#CCF21F is a light color. The closest websafe version is #CCF21F. A complement of this color would be #4821F2, perceived brightness is 0.81, and the grayscale version is #898989.

In the HSL color space, this color has a hue angle of 71°,a saturation of 89%, and a lightness of 54%.The HSV representation shows a hue of 71°, a saturation of 87%, and a value of 95%.

In a RGB color space, #CCF21F is composed of 80% red, 95% green and 12% blue. Whereas in a CMYK color space, it is composed of 16% cyan, 0% magenta, 87% yellow and 5% black.

In the Yxy color space, this color is represented as Y: 77.17, x: 0.4094, and y: 0.5203.

Color Code #CCF21F

#CCF21Frgb(204, 242, 31)
HEX
#CCF21F
RGB
rgb(204, 242, 31)
HSL
hsl(71, 89%, 54%)
HSV
hsv(71, 87%, 95%)
CMYK
16%, 0%, 87%, 5%
XYZ
X: 60.72, Y: 77.17, Z: 10.44
Lab
L: 90.40, a: -30.06, b: 83.04
Name

Shades of Color #CCF21F

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

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

#CCF21Frgb(204, 242, 31)

About #CCF21F Color Code

In the HSL color space, this color has a hue angle of 71°, a saturation of 89%, and a lightness of 54%. The HSV representation shows a hue of 71°, a saturation of 87%, and a value of 95%.

  • HEX: #CCF21F
  • RGB: rgb(204, 242, 31)
  • HSL: hsl(71, 89%, 54%)
  • HSV: hsv(71, 87%, 95%)
  • CMYK: 16.00% cyan, 0.00% magenta, 87.00% yellow, 5.00% black
  • XYZ: 60.72, 77.17, 10.44
  • Yxy: 77.17, 0.4094, 0.5203
  • Hunter Lab: 90.40, -30.06, 83.04
  • CIE-Lab: 90.40, -30.06, 83.04

In the XYZ color space, this color is represented as X: 60.72, Y: 77.17, Z: 10.44. The Yxy representation further refines this as Y: 77.17, x: 0.4094, and y: 0.5203.

In the Hunter Lab color space, this color is represented as L: 90.40, a: -30.06, and b: 83.04. Similarly, in the CIE-Lab color space, it is represented as L: 90.40, a: -30.06, and b: 83.04.

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

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

Analogous Colors of #CCF21F

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

Split Complementary Colors of #CCF21F

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

Tetradic Colors of #CCF21F

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

Monochromatic Colors of #CCF21F

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

Complementary Color of #CCF21F

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

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

HTML Examples of #CCF21F

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

Related Colors of #CCF21F

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