Color: #CCE31F

#CCE31F Color Information

#CCE31F is a light color. The closest websafe version is #CCE31F. A complement of this color would be #3721E4, perceived brightness is 0.78, and the grayscale version is #818181.

In the HSL color space, this color has a hue angle of 67°,a saturation of 78%, and a lightness of 51%.The HSV representation shows a hue of 67°, a saturation of 86%, and a value of 89%.

In a RGB color space, #CCE31F is composed of 80% red, 89% green and 12% blue. Whereas in a CMYK color space, it is composed of 10% cyan, 0% magenta, 86% yellow and 11% black.

In the Yxy color space, this color is represented as Y: 68.59, x: 0.4188, and y: 0.5119.

Color Code #CCE31F

#CCE31Frgb(204, 227, 31)
HEX
#CCE31F
RGB
rgb(204, 227, 31)
HSL
hsl(67, 78%, 51%)
HSV
hsv(67, 86%, 89%)
CMYK
10%, 0%, 86%, 11%
XYZ
X: 56.11, Y: 68.59, Z: 9.28
Lab
L: 86.30, a: -23.51, b: 79.84
Name

Shades of Color #CCE31F

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

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

#CCE31Frgb(204, 227, 31)

About #CCE31F Color Code

In the HSL color space, this color has a hue angle of 67°, a saturation of 78%, and a lightness of 51%. The HSV representation shows a hue of 67°, a saturation of 86%, and a value of 89%.

  • HEX: #CCE31F
  • RGB: rgb(204, 227, 31)
  • HSL: hsl(67, 78%, 51%)
  • HSV: hsv(67, 86%, 89%)
  • CMYK: 10.00% cyan, 0.00% magenta, 86.00% yellow, 11.00% black
  • XYZ: 56.11, 68.59, 9.28
  • Yxy: 68.59, 0.4188, 0.5119
  • Hunter Lab: 86.30, -23.51, 79.84
  • CIE-Lab: 86.30, -23.51, 79.84

In the XYZ color space, this color is represented as X: 56.11, Y: 68.59, Z: 9.28. The Yxy representation further refines this as Y: 68.59, x: 0.4188, and y: 0.5119.

In the Hunter Lab color space, this color is represented as L: 86.30, a: -23.51, and b: 79.84. Similarly, in the CIE-Lab color space, it is represented as L: 86.30, a: -23.51, and b: 79.84.

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

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

Analogous Colors of #CCE31F

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

Monochromatic Colors of #CCE31F

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

Complementary Color of #CCE31F

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

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

HTML Examples of #CCE31F

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

Related Colors of #CCE31F

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