Color: #1F540C

#1F540C Color Information

#1F540C is a dark color. The closest websafe version is #1F540C. A complement of this color would be #410C55, perceived brightness is 0.24, and the grayscale version is #303030.

In the HSL color space, this color has a hue angle of 104°,a saturation of 75%, and a lightness of 19%.The HSV representation shows a hue of 104°, a saturation of 86%, and a value of 33%.

In a RGB color space, #1F540C is composed of 12% red, 33% green and 5% blue. Whereas in a CMYK color space, it is composed of 63% cyan, 0% magenta, 86% yellow and 67% black.

In the Yxy color space, this color is represented as Y: 6.68, x: 0.3418, and y: 0.5623.

Color Code #1F540C

#1F540Crgb(31, 84, 12)
HEX
#1F540C
RGB
rgb(31, 84, 12)
HSL
hsl(104, 75%, 19%)
HSV
hsv(104, 86%, 33%)
CMYK
63%, 0%, 86%, 67%
XYZ
X: 4.06, Y: 6.68, Z: 1.14
Lab
L: 31.07, a: -28.90, b: 33.14
Name

Shades of Color #1F540C

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

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

#1F540Crgb(31, 84, 12)

About #1F540C Color Code

In the HSL color space, this color has a hue angle of 104°, a saturation of 75%, and a lightness of 19%. The HSV representation shows a hue of 104°, a saturation of 86%, and a value of 33%.

  • HEX: #1F540C
  • RGB: rgb(31, 84, 12)
  • HSL: hsl(104, 75%, 19%)
  • HSV: hsv(104, 86%, 33%)
  • CMYK: 63.00% cyan, 0.00% magenta, 86.00% yellow, 67.00% black
  • XYZ: 4.06, 6.68, 1.14
  • Yxy: 6.68, 0.3418, 0.5623
  • Hunter Lab: 31.07, -28.90, 33.14
  • CIE-Lab: 31.07, -28.90, 33.14

In the XYZ color space, this color is represented as X: 4.06, Y: 6.68, Z: 1.14. The Yxy representation further refines this as Y: 6.68, x: 0.3418, and y: 0.5623.

In the Hunter Lab color space, this color is represented as L: 31.07, a: -28.90, and b: 33.14. Similarly, in the CIE-Lab color space, it is represented as L: 31.07, a: -28.90, and b: 33.14.

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 #1F540C

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

Analogous Colors of #1F540C

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

Split Complementary Colors of #1F540C

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

Tetradic Colors of #1F540C

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

Monochromatic Colors of #1F540C

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

Complementary Color of #1F540C

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

/* Using HEX */
body {
  background-color: #1f540c;
}
/* Using RGB */
body {
  background-color: rgb(31, 84, 12);
}
/* Using RGB with opacity */
body {
  background-color: rgba(31, 84, 12, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(104, 75%, 19%);
}
/* Text color */
p {
  color: #1f540c;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #1f540c;
}
/* Border color */
.box {
  border: 4px solid #1f540c;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #1f540c;
}
Text Shadow Preview
/* Background with text */
div {
  background: #1f540c;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#1F540C
On Black Background
#1F540C
On White Background
#1F540C

HTML Examples of #1F540C

<!-- Using HEX -->
<div style="background-color: #1f540c; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(31, 84, 12); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(31, 84, 12, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(104, 75%, 19%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #1f540c;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #1f540c; width: 100px; height: 100px;"></div>
<!-- Border color -->
<div style="border: 4px solid #1f540c; width: 100px; height: 100px;"></div>
<!-- Text shadow -->
<h1 style="color: #222; text-shadow: 2px 2px 0 #1f540c;">Text Shadow Preview</h1>
Text Shadow Preview
<!-- Background with text -->
<div style="background: #1f540c; color: #fff; padding: 16px; border-radius: 8px;">
  #1F540C
</div>
#1F540C
On Black Background
#1F540C
On White Background
#1F540C

Related Colors of #1F540C

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