Color: #172F1C

#172F1C Color Information

#172F1C is a dark color. The closest websafe version is #172F1C. A complement of this color would be #30182B, perceived brightness is 0.15, and the grayscale version is #232323.

In the HSL color space, this color has a hue angle of 133°,a saturation of 34%, and a lightness of 14%.The HSV representation shows a hue of 133°, a saturation of 51%, and a value of 18%.

In a RGB color space, #172F1C is composed of 9% red, 18% green and 11% blue. Whereas in a CMYK color space, it is composed of 51% cyan, 0% magenta, 40% yellow and 82% black.

In the Yxy color space, this color is represented as Y: 2.30, x: 0.3228, and y: 0.4554.

Color Code #172F1C

#172F1Crgb(23, 47, 28)
HEX
#172F1C
RGB
rgb(23, 47, 28)
HSL
hsl(133, 34%, 14%)
HSV
hsv(133, 51%, 18%)
CMYK
51%, 0%, 40%, 82%
XYZ
X: 1.63, Y: 2.30, Z: 1.12
Lab
L: 16.98, a: -13.73, b: 9.20
Name

Shades of Color #172F1C

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

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

#172F1Crgb(23, 47, 28)

About #172F1C Color Code

In the HSL color space, this color has a hue angle of 133°, a saturation of 34%, and a lightness of 14%. The HSV representation shows a hue of 133°, a saturation of 51%, and a value of 18%.

  • HEX: #172F1C
  • RGB: rgb(23, 47, 28)
  • HSL: hsl(133, 34%, 14%)
  • HSV: hsv(133, 51%, 18%)
  • CMYK: 51.00% cyan, 0.00% magenta, 40.00% yellow, 82.00% black
  • XYZ: 1.63, 2.30, 1.12
  • Yxy: 2.30, 0.3228, 0.4554
  • Hunter Lab: 16.98, -13.73, 9.20
  • CIE-Lab: 16.98, -13.73, 9.20

In the XYZ color space, this color is represented as X: 1.63, Y: 2.30, Z: 1.12. The Yxy representation further refines this as Y: 2.30, x: 0.3228, and y: 0.4554.

In the Hunter Lab color space, this color is represented as L: 16.98, a: -13.73, and b: 9.20. Similarly, in the CIE-Lab color space, it is represented as L: 16.98, a: -13.73, and b: 9.20.

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 #172F1C

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

Analogous Colors of #172F1C

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

Split Complementary Colors of #172F1C

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

Tetradic Colors of #172F1C

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

Monochromatic Colors of #172F1C

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

Complementary Color of #172F1C

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

/* Using HEX */
body {
  background-color: #172f1c;
}
/* Using RGB */
body {
  background-color: rgb(23, 47, 28);
}
/* Using RGB with opacity */
body {
  background-color: rgba(23, 47, 28, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(133, 34%, 14%);
}
/* Text color */
p {
  color: #172f1c;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #172f1c;
}
/* Border color */
.box {
  border: 4px solid #172f1c;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #172f1c;
}
Text Shadow Preview
/* Background with text */
div {
  background: #172f1c;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#172F1C
On Black Background
#172F1C
On White Background
#172F1C

HTML Examples of #172F1C

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

Related Colors of #172F1C

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