#0C120C Color Information

Hex color code: #0C120C

#0C120C is a intense green color. In RGB it is (12, 18, 12), and in HSL it is (120°, 20%, 6%). It is popular in mobile app design.

Try:
Color NameBlack
HEX
#0C120C
RGB
12, 18, 12
HSL
120°, 20%, 6%
CMYK
33%, 0%, 33%, 93%

Shades

CSS Usage
color: #0C120C;
background-color: #0C120C;
border-color: #0C120C;
box-shadow: 0 0 10px #0C120C;
border: 2px solid #0C120C;
Tailwind Usage
bg-[#0C120C]
text-[#0C120C]
border-[#0C120C]
shadow-[0_0_10px_0C120C]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #0C120C, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #0C120C; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #0C120C; color: #FFFFFF; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #0C120C; background-color: #0C120C15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #0C120C20; border-left: 4px solid #0C120C; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #0C120C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #0C120C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

12, 18, 12

Red: 12 / Green: 18 / Blue: 12

HSL

120°, 20%, 6%

Hue: 120° / Saturation: 20% / Lightness: 6%

CMYK

33%, 0%, 33%, 93%

Cyan: 33% / Magenta: 0% / Yellow: 33% / Key: 93%

What color is #0C120C?

#0C120C is a very dark shade associated with sophistication and elegance.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #0C120C to RGB:

rgb(12, 18, 12)HEX to RGB Converter →

HEX to HSL

Convert #0C120C to HSL:

hsl(120, 20%, 6%)RGB to HSL Converter →

HEX to CMYK

Convert #0C120C to CMYK:

cmyk(33%, 0%, 33%, 93%)Color Converter →

Color Meaning and Usage

#0C120C is a rich green color with RGB values of 12, 18, 12 and HSL of 120°, 20%, 6%. This very dark shade evokes sophistication and elegance, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #0C120C is #120C12, creating high-contrast pairings. For softer combinations, try analogous colors like #0F120C.

Use #0C120C in CSS: color: #0C120C or background-color: #0C120C. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #0C120C

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 1.11:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #0C120C?

#0C120C is a rich green color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #0C120C?

#0C120C in RGB is (12, 18, 12) - 12 red, 18 green, and 12 blue.

How to use #0C120C in CSS?

Use #0C120C directly in your CSS properties like color or background-color.

What colors go well with #0C120C?

#120C12 (complementary), #0F120C (analogous), and #000000 (lighter shade) work well with #0C120C.