#172E26 color
The hex color #172E26 is a very dark, desaturated spring green.
In the RGB color model it is made of 9% red, 18% green and 14.9% blue (23, 46, 38).
Its hue angle is 159°, with 33% saturation and 14% lightness. For print, the CMYK equivalent is 50% cyan, 0% magenta, 17% yellow and 82% black.
The closest named color is Swamp Thing (#162825), a difference of 3.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.43:1).
#172E26 color codes
| HEX | #172E26 | |
|---|---|---|
| RGB | rgb(23, 46, 38) | |
| RGB percent | rgb(9%, 18%, 14.9%) | |
| HSL | hsl(159, 33%, 14%) | |
| HSV / HSB | hsv(159, 50%, 18%) | |
| CMYK | cmyk(50%, 0%, 17%, 82%) | |
| CIE LAB | lab(16.87, -11.45, 2.34) | |
| CIE LCH | lch(16.87, 11.69, 168.47) | |
| CIE XYZ | xyz(1.68, 2.276, 2.184) | |
| Decimal | 1519142 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #172E26, 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 #172E26 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.46:1 | Fail | Fail | Fail |
| Sample text | 14.43:1 | Pass | Pass | Pass |
| #172E26 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.43:1 | Pass | Pass | Pass |
| Sample text | 1.46: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 #172E26 looks to people with the most common types of color vision deficiency.
#2d2b26Protanopia
no red cones#292827Deuteranopia
no green cones#102e2cTritanopia
no blue cones#2a2a2aAchromatopsia
no color vision
CSS examples
.background { background-color: #172e26; }
.text { color: #172e26; }
.border { border: 2px solid #172e26; }
.transparent { background-color: rgb(23 46 38 / 50%); }
.gradient { background: linear-gradient(to right, #172e26, #172a2e); }
Similar colors
#162825Swamp Thing#112211Nightmare#293432Aztec#003322Pitch-Black Forests#133337Elite Teal#264334Everglade#12403cBotanical Night#2b322dTerminal Black
Closest common color name: Onyx.
Questions
- What color is #172E26?
- #172E26 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 #172E26?
- The RGB value is 23, 46, 38: 23 red, 46 green and 38 blue on a 0 to 255 scale.
- What is the complementary color of #172E26?
- The complementary color is #2E171F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #172E26?
- White text. Black text has a contrast ratio of 1.46:1 and white text 14.43:1. WCAG asks for at least 4.5:1 for normal text.