Color: #12421C

#12421C Color Information

#12421C is a dark color. The closest websafe version is #12421C. A complement of this color would be #401236, perceived brightness is 0.19, and the grayscale version is #2A2A2A.

In the HSL color space, this color has a hue angle of 133°,a saturation of 57%, and a lightness of 16%.The HSV representation shows a hue of 133°, a saturation of 73%, and a value of 26%.

In a RGB color space, #12421C is composed of 7% red, 26% green and 11% blue. Whereas in a CMYK color space, it is composed of 73% cyan, 0% magenta, 58% yellow and 74% black.

In the Yxy color space, this color is represented as Y: 4.11, x: 0.3159, and y: 0.5131.

Color Code #12421C

#12421Crgb(18, 66, 28)
HEX
#12421C
RGB
rgb(18, 66, 28)
HSL
hsl(133, 57%, 16%)
HSV
hsv(133, 73%, 26%)
CMYK
73%, 0%, 58%, 74%
XYZ
X: 2.53, Y: 4.11, Z: 1.37
Lab
L: 24.03, a: -24.03, b: 18.04
Name

Shades of Color #12421C

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

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

#12421Crgb(18, 66, 28)

About #12421C Color Code

In the HSL color space, this color has a hue angle of 133°, a saturation of 57%, and a lightness of 16%. The HSV representation shows a hue of 133°, a saturation of 73%, and a value of 26%.

  • HEX: #12421C
  • RGB: rgb(18, 66, 28)
  • HSL: hsl(133, 57%, 16%)
  • HSV: hsv(133, 73%, 26%)
  • CMYK: 73.00% cyan, 0.00% magenta, 58.00% yellow, 74.00% black
  • XYZ: 2.53, 4.11, 1.37
  • Yxy: 4.11, 0.3159, 0.5131
  • Hunter Lab: 24.03, -24.03, 18.04
  • CIE-Lab: 24.03, -24.03, 18.04

In the XYZ color space, this color is represented as X: 2.53, Y: 4.11, Z: 1.37. The Yxy representation further refines this as Y: 4.11, x: 0.3159, and y: 0.5131.

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

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 #12421C

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

Analogous Colors of #12421C

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

Split Complementary Colors of #12421C

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

Tetradic Colors of #12421C

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

Monochromatic Colors of #12421C

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

Complementary Color of #12421C

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

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

HTML Examples of #12421C

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

Related Colors of #12421C

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