Color: #DEF2C8

#DEF2C8 Color Information

#DEF2C8 is a light color. The closest websafe version is #DEF2C8. A complement of this color would be #DDC9F2, perceived brightness is 0.91, and the grayscale version is #DDDDDD.

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

In a RGB color space, #DEF2C8 is composed of 87% red, 95% green and 78% blue. Whereas in a CMYK color space, it is composed of 8% cyan, 0% magenta, 17% yellow and 5% black.

In the Yxy color space, this color is represented as Y: 83.41, x: 0.3562, and y: 0.3998.

Color Code #DEF2C8

#DEF2C8rgb(222, 242, 200)
HEX
#DEF2C8
RGB
rgb(222, 242, 200)
HSL
hsl(89, 62%, 87%)
HSV
hsv(89, 17%, 95%)
CMYK
8%, 0%, 17%, 5%
XYZ
X: 74.31, Y: 83.41, Z: 50.89
Lab
L: 93.19, a: -12.24, b: 18.03
Name

Shades of Color #DEF2C8

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

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

#DEF2C8rgb(222, 242, 200)

About #DEF2C8 Color Code

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

  • HEX: #DEF2C8
  • RGB: rgb(222, 242, 200)
  • HSL: hsl(89, 62%, 87%)
  • HSV: hsv(89, 17%, 95%)
  • CMYK: 8.00% cyan, 0.00% magenta, 17.00% yellow, 5.00% black
  • XYZ: 74.31, 83.41, 50.89
  • Yxy: 83.41, 0.3562, 0.3998
  • Hunter Lab: 93.19, -12.24, 18.03
  • CIE-Lab: 93.19, -12.24, 18.03

In the XYZ color space, this color is represented as X: 74.31, Y: 83.41, Z: 50.89. The Yxy representation further refines this as Y: 83.41, x: 0.3562, and y: 0.3998.

In the Hunter Lab color space, this color is represented as L: 93.19, a: -12.24, and b: 18.03. Similarly, in the CIE-Lab color space, it is represented as L: 93.19, a: -12.24, and b: 18.03.

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

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

Analogous Colors of #DEF2C8

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

Monochromatic Colors of #DEF2C8

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

Complementary Color of #DEF2C8

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

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

HTML Examples of #DEF2C8

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

Related Colors of #DEF2C8

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