#172F2C color
The hex color #172F2C is a very dark, desaturated spring green.
In the RGB color model it is made of 9% red, 18.4% green and 17.3% blue (23, 47, 44).
Its hue angle is 173°, with 34% saturation and 14% lightness. For print, the CMYK equivalent is 51% cyan, 0% magenta, 6% yellow and 82% black.
The closest named color is Swamp Thing (#162825), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.19:1).
#172F2C color codes
| HEX | #172F2C | |
|---|---|---|
| RGB | rgb(23, 47, 44) | |
| RGB percent | rgb(9%, 18.4%, 17.3%) | |
| HSL | hsl(173, 34%, 14%) | |
| HSV / HSB | hsv(173, 51%, 18%) | |
| CMYK | cmyk(51%, 0%, 6%, 82%) | |
| CIE LAB | lab(17.45, -10.29, -1.01) | |
| CIE LCH | lch(17.45, 10.34, 185.59) | |
| CIE XYZ | xyz(1.824, 2.397, 2.749) | |
| Decimal | 1519404 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #172F2C, 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 #172F2C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.48:1 | Fail | Fail | Fail |
| Sample text | 14.19:1 | Pass | Pass | Pass |
| #172F2C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.19:1 | Pass | Pass | Pass |
| Sample text | 1.48:1 | Fail | Fail | Fail |
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 #172F2C looks to people with the most common types of color vision deficiency.
#2d2d2cProtanopia
no red cones#292a2cDeuteranopia
no green cones#0d302eTritanopia
no blue cones#2b2b2bAchromatopsia
no color vision
CSS examples
.background { background-color: #172f2c; }
.text { color: #172f2c; }
.border { border: 2px solid #172f2c; }
.transparent { background-color: rgb(23 47 44 / 50%); }
.gradient { background: linear-gradient(to right, #172f2c, #17262f); }
Similar colors
#162825Swamp Thing#133337Elite Teal#293432Aztec#10252aSunken Ship#12403cBotanical Night#0f282fBlack Box#1c3b42Royal Neptune#2b322dTerminal Black
Closest common color name: Gunmetal.
Questions
- What color is #172F2C?
- #172F2C is a very dark, desaturated spring green, closest to the named color Swamp Thing. It belongs to the black family of colors.
- What is the RGB value of #172F2C?
- The RGB value is 23, 47, 44: 23 red, 47 green and 44 blue on a 0 to 255 scale.
- What is the complementary color of #172F2C?
- The complementary color is #2F171A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #172F2C?
- White text. Black text has a contrast ratio of 1.48:1 and white text 14.19:1. WCAG asks for at least 4.5:1 for normal text.