Color: #D4C942

#D4C942 Color Information

#D4C942 is a light color. The closest websafe version is #D4C942. A complement of this color would be #4450D5, perceived brightness is 0.74, and the grayscale version is #8B8B8B.

In the HSL color space, this color has a hue angle of 55°,a saturation of 63%, and a lightness of 55%.The HSV representation shows a hue of 55°, a saturation of 69%, and a value of 83%.

In a RGB color space, #D4C942 is composed of 83% red, 79% green and 26% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 5% magenta, 69% yellow and 17% black.

In the Yxy color space, this color is represented as Y: 56.85, x: 0.4357, and y: 0.4765.

Color Code #D4C942

#D4C942rgb(212, 201, 66)
HEX
#D4C942
RGB
rgb(212, 201, 66)
HSL
hsl(55, 63%, 55%)
HSV
hsv(55, 69%, 83%)
CMYK
0%, 5%, 69%, 17%
XYZ
X: 51.98, Y: 56.85, Z: 10.48
Lab
L: 80.10, a: -7.27, b: 65.15
Name

Shades of Color #D4C942

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

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

#D4C942rgb(212, 201, 66)

About #D4C942 Color Code

In the HSL color space, this color has a hue angle of 55°, a saturation of 63%, and a lightness of 55%. The HSV representation shows a hue of 55°, a saturation of 69%, and a value of 83%.

  • HEX: #D4C942
  • RGB: rgb(212, 201, 66)
  • HSL: hsl(55, 63%, 55%)
  • HSV: hsv(55, 69%, 83%)
  • CMYK: 0.00% cyan, 5.00% magenta, 69.00% yellow, 17.00% black
  • XYZ: 51.98, 56.85, 10.48
  • Yxy: 56.85, 0.4357, 0.4765
  • Hunter Lab: 80.10, -7.27, 65.15
  • CIE-Lab: 80.10, -7.27, 65.15

In the XYZ color space, this color is represented as X: 51.98, Y: 56.85, Z: 10.48. The Yxy representation further refines this as Y: 56.85, x: 0.4357, and y: 0.4765.

In the Hunter Lab color space, this color is represented as L: 80.10, a: -7.27, and b: 65.15. Similarly, in the CIE-Lab color space, it is represented as L: 80.10, a: -7.27, and b: 65.15.

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

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

Analogous Colors of #D4C942

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

Split Complementary Colors of #D4C942

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

Tetradic Colors of #D4C942

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

Monochromatic Colors of #D4C942

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

Complementary Color of #D4C942

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

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

HTML Examples of #D4C942

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

Related Colors of #D4C942

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