#172212 color

#172212 rgb(23, 34, 18)
Shades of black

The hex color #172212 is a very dark, desaturated green.

In the RGB color model it is made of 9% red, 13.3% green and 7.1% blue (23, 34, 18).

Its hue angle is 101°, with 31% saturation and 10% lightness. For print, the CMYK equivalent is 32% cyan, 0% magenta, 47% yellow and 87% black.

The closest named color is Nightmare (#112211), a difference of 2.6 ΔE, a small difference.

White text is the more readable choice on this background (contrast 16.48:1).

#172212 color codes

HEX#172212
RGBrgb(23, 34, 18)
RGB percentrgb(9%, 13.3%, 7.1%)
HSLhsl(101, 31%, 10%)
HSV / HSBhsv(101, 47%, 13%)
CMYKcmyk(32%, 0%, 47%, 87%)
CIE LABlab(11.76, -8.83, 9.08)
CIE LCHlch(11.76, 12.67, 134.19)
CIE XYZxyz(1.035, 1.37, 0.782)
Decimal1516050
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #172212, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #172212RatioAAAAAAA large
Sample text1.27:1FailFailFail
Sample text16.48:1PassPassPass
#172212 as text onRatioAAAAAAA large
Sample text16.48:1PassPassPass
Sample text1.27:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #172212 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #172212; }
.text { color: #172212; }
.border { border: 2px solid #172212; }
.transparent { background-color: rgb(23 34 18 / 50%); }
.gradient { background: linear-gradient(to right, #172212, #122215); }
Background
Text color
Border

Similar colors

Closest common color name: Onyx.

Questions

What color is #172212?
#172212 is a very dark, desaturated green, closest to the named color Nightmare. It belongs to the black family of colors.
What is the RGB value of #172212?
The RGB value is 23, 34, 18: 23 red, 34 green and 18 blue on a 0 to 255 scale.
What is the complementary color of #172212?
The complementary color is #1D1222, found by rotating the hue 180° on the color wheel.
Is black or white text better on #172212?
White text. Black text has a contrast ratio of 1.27:1 and white text 16.48:1. WCAG asks for at least 4.5:1 for normal text.