#12170D Color Information

Hex color code: #12170D

A dark green shade, #12170D appears as (18, 23, 13) in RGB and (90°, 28%, 7%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameBlack
HEX
#12170D
RGB
18, 23, 13
HSL
90°, 28%, 7%
CMYK
22%, 0%, 43%, 91%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #12170D, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #12170D; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #12170D; 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 #12170D; background-color: #12170D15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #12170D20; border-left: 4px solid #12170D; }

Link / Accent

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

a { color: #12170D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #12170D in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

18, 23, 13

Red: 18 / Green: 23 / Blue: 13

HSL

90°, 28%, 7%

Hue: 90° / Saturation: 28% / Lightness: 7%

CMYK

22%, 0%, 43%, 91%

Cyan: 22% / Magenta: 0% / Yellow: 43% / Key: 91%

What color is #12170D?

#12170D is a very dark shade associated with sophistication and elegance.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #12170D to RGB:

rgb(18, 23, 13)HEX to RGB Converter →

HEX to HSL

Convert #12170D to HSL:

hsl(90, 28%, 7%)RGB to HSL Converter →

HEX to CMYK

Convert #12170D to CMYK:

cmyk(22%, 0%, 43%, 91%)Color Converter →

Color Meaning and Usage

A dramatic green tone, #12170D has RGB (18, 23, 13) and HSL (90°, 28%, 7%). Known for evoking sophistication and elegance, this very dark shade is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #12170D is #120D17, creating high-contrast pairings. For softer combinations, try analogous colors like #17170D.

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

Contrast with #12170D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #12170D?

#12170D is a dramatic green color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #12170D?

#12170D in RGB is (18, 23, 13) - 18 red, 23 green, and 13 blue.

How to use #12170D in CSS?

Use #12170D directly in your CSS properties like color or background-color.

What colors go well with #12170D?

#120D17 (complementary), #17170D (analogous), and #000000 (lighter shade) work well with #12170D.