Color: #D8B118

#D8B118 Color Information

#D8B118 is a light color. The closest websafe version is #D8B118. A complement of this color would be #183ED8, perceived brightness is 0.67, and the grayscale version is #787878.

In the HSL color space, this color has a hue angle of 48°,a saturation of 80%, and a lightness of 47%.The HSV representation shows a hue of 48°, a saturation of 89%, and a value of 85%.

In a RGB color space, #D8B118 is composed of 85% red, 69% green and 9% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 18% magenta, 89% yellow and 15% black.

In the Yxy color space, this color is represented as Y: 46.85, x: 0.4713, and y: 0.4698.

Color Code #D8B118

#D8B118rgb(216, 177, 24)
HEX
#D8B118
RGB
rgb(216, 177, 24)
HSL
hsl(48, 80%, 47%)
HSV
hsv(48, 89%, 85%)
CMYK
0%, 18%, 89%, 15%
XYZ
X: 47.00, Y: 46.85, Z: 5.88
Lab
L: 74.10, a: 5.17, b: 72.43
Name

Shades of Color #D8B118

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

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

#D8B118rgb(216, 177, 24)

About #D8B118 Color Code

In the HSL color space, this color has a hue angle of 48°, a saturation of 80%, and a lightness of 47%. The HSV representation shows a hue of 48°, a saturation of 89%, and a value of 85%.

  • HEX: #D8B118
  • RGB: rgb(216, 177, 24)
  • HSL: hsl(48, 80%, 47%)
  • HSV: hsv(48, 89%, 85%)
  • CMYK: 0.00% cyan, 18.00% magenta, 89.00% yellow, 15.00% black
  • XYZ: 47.00, 46.85, 5.88
  • Yxy: 46.85, 0.4713, 0.4698
  • Hunter Lab: 74.10, 5.17, 72.43
  • CIE-Lab: 74.10, 5.17, 72.43

In the XYZ color space, this color is represented as X: 47.00, Y: 46.85, Z: 5.88. The Yxy representation further refines this as Y: 46.85, x: 0.4713, and y: 0.4698.

In the Hunter Lab color space, this color is represented as L: 74.10, a: 5.17, and b: 72.43. Similarly, in the CIE-Lab color space, it is represented as L: 74.10, a: 5.17, and b: 72.43.

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

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

Analogous Colors of #D8B118

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

Split Complementary Colors of #D8B118

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

Tetradic Colors of #D8B118

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

Monochromatic Colors of #D8B118

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

Complementary Color of #D8B118

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

/* Using HEX */
body {
  background-color: #d8b118;
}
/* Using RGB */
body {
  background-color: rgb(216, 177, 24);
}
/* Using RGB with opacity */
body {
  background-color: rgba(216, 177, 24, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(48, 80%, 47%);
}
/* Text color */
p {
  color: #d8b118;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #d8b118;
}
/* Border color */
.box {
  border: 4px solid #d8b118;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #d8b118;
}
Text Shadow Preview
/* Background with text */
div {
  background: #d8b118;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#D8B118
On Black Background
#D8B118
On White Background
#D8B118

HTML Examples of #D8B118

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

Related Colors of #D8B118

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