#172B25 color
The hex color #172B25 is a very dark, desaturated spring green.
In the RGB color model it is made of 9% red, 16.9% green and 14.5% blue (23, 43, 37).
Its hue angle is 162°, with 30% saturation and 13% lightness. For print, the CMYK equivalent is 47% cyan, 0% magenta, 14% yellow and 83% black.
The closest named color is Swamp Thing (#162825), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.91:1).
#172B25 color codes
| HEX | #172B25 | |
|---|---|---|
| RGB | rgb(23, 43, 37) | |
| RGB percent | rgb(9%, 16.9%, 14.5%) | |
| HSL | hsl(162, 30%, 13%) | |
| HSV / HSB | hsv(162, 47%, 17%) | |
| CMYK | cmyk(47%, 0%, 14%, 83%) | |
| CIE LAB | lab(15.71, -9.87, 1.36) | |
| CIE LCH | lch(15.71, 9.97, 172.14) | |
| CIE XYZ | xyz(1.551, 2.043, 2.063) | |
| Decimal | 1518373 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #172B25, 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 #172B25 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.41:1 | Fail | Fail | Fail |
| Sample text | 14.91:1 | Pass | Pass | Pass |
| #172B25 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.91:1 | Pass | Pass | Pass |
| Sample text | 1.41: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 #172B25 looks to people with the most common types of color vision deficiency.
#2a2925Protanopia
no red cones#262625Deuteranopia
no green cones#112b29Tritanopia
no blue cones#272727Achromatopsia
no color vision
CSS examples
.background { background-color: #172b25; }
.text { color: #172b25; }
.border { border: 2px solid #172b25; }
.transparent { background-color: rgb(23 43 37 / 50%); }
.gradient { background: linear-gradient(to right, #172b25, #17272b); }
Similar colors
#162825Swamp Thing#293432Aztec#112211Nightmare#133337Elite Teal#2b322dTerminal Black#1e231cUnderworld#10252aSunken Ship#2b2e26Marshland
Closest common color name: Onyx.
Questions
- What color is #172B25?
- #172B25 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 #172B25?
- The RGB value is 23, 43, 37: 23 red, 43 green and 37 blue on a 0 to 255 scale.
- What is the complementary color of #172B25?
- The complementary color is #2B171D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #172B25?
- White text. Black text has a contrast ratio of 1.41:1 and white text 14.91:1. WCAG asks for at least 4.5:1 for normal text.