Color: #987B22

#987B22 Color Information

#987B22 is a dark color. The closest websafe version is #987B22. A complement of this color would be #223F96, perceived brightness is 0.48, and the grayscale version is #5D5D5D.

In the HSL color space, this color has a hue angle of 45°,a saturation of 63%, and a lightness of 36%.The HSV representation shows a hue of 45°, a saturation of 78%, and a value of 60%.

In a RGB color space, #987B22 is composed of 60% red, 48% green and 13% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 19% magenta, 78% yellow and 40% black.

In the Yxy color space, this color is represented as Y: 21.28, x: 0.4651, and y: 0.4593.

Color Code #987B22

#987B22rgb(152, 123, 34)
HEX
#987B22
RGB
rgb(152, 123, 34)
HSL
hsl(45, 63%, 36%)
HSV
hsv(45, 78%, 60%)
CMYK
0%, 19%, 78%, 40%
XYZ
X: 21.55, Y: 21.28, Z: 3.50
Lab
L: 53.26, a: 4.90, b: 49.64
Name

Shades of Color #987B22

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

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

#987B22rgb(152, 123, 34)

About #987B22 Color Code

In the HSL color space, this color has a hue angle of 45°, a saturation of 63%, and a lightness of 36%. The HSV representation shows a hue of 45°, a saturation of 78%, and a value of 60%.

  • HEX: #987B22
  • RGB: rgb(152, 123, 34)
  • HSL: hsl(45, 63%, 36%)
  • HSV: hsv(45, 78%, 60%)
  • CMYK: 0.00% cyan, 19.00% magenta, 78.00% yellow, 40.00% black
  • XYZ: 21.55, 21.28, 3.50
  • Yxy: 21.28, 0.4651, 0.4593
  • Hunter Lab: 53.26, 4.90, 49.64
  • CIE-Lab: 53.26, 4.90, 49.64

In the XYZ color space, this color is represented as X: 21.55, Y: 21.28, Z: 3.50. The Yxy representation further refines this as Y: 21.28, x: 0.4651, and y: 0.4593.

In the Hunter Lab color space, this color is represented as L: 53.26, a: 4.90, and b: 49.64. Similarly, in the CIE-Lab color space, it is represented as L: 53.26, a: 4.90, and b: 49.64.

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 #987B22

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

Analogous Colors of #987B22

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

Split Complementary Colors of #987B22

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

Tetradic Colors of #987B22

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

Monochromatic Colors of #987B22

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

Complementary Color of #987B22

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

/* Using HEX */
body {
  background-color: #987b22;
}
/* Using RGB */
body {
  background-color: rgb(152, 123, 34);
}
/* Using RGB with opacity */
body {
  background-color: rgba(152, 123, 34, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(45, 63%, 36%);
}
/* Text color */
p {
  color: #987b22;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #987b22;
}
/* Border color */
.box {
  border: 4px solid #987b22;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #987b22;
}
Text Shadow Preview
/* Background with text */
div {
  background: #987b22;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#987B22
On Black Background
#987B22
On White Background
#987B22

HTML Examples of #987B22

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

Related Colors of #987B22

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