#172B1A color
The hex color #172B1A is a very dark, desaturated green.
In the RGB color model it is made of 9% red, 16.9% green and 10.2% blue (23, 43, 26).
Its hue angle is 129°, with 30% saturation and 13% lightness. For print, the CMYK equivalent is 47% cyan, 0% magenta, 40% yellow and 83% black.
The closest named color is Nightmare (#112211), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.03:1).
#172B1A color codes
| HEX | #172B1A | |
|---|---|---|
| RGB | rgb(23, 43, 26) | |
| RGB percent | rgb(9%, 16.9%, 10.2%) | |
| HSL | hsl(129, 30%, 13%) | |
| HSV / HSB | hsv(129, 47%, 17%) | |
| CMYK | cmyk(47%, 0%, 40%, 83%) | |
| CIE LAB | lab(15.41, -12.7, 8.6) | |
| CIE LCH | lch(15.41, 15.33, 145.89) | |
| CIE XYZ | xyz(1.404, 1.984, 1.286) | |
| Decimal | 1518362 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #172B1A, 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 #172B1A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.4:1 | Fail | Fail | Fail |
| Sample text | 15.03:1 | Pass | Pass | Pass |
| #172B1A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.03:1 | Pass | Pass | Pass |
| Sample text | 1.4: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 #172B1A looks to people with the most common types of color vision deficiency.
#2b2819Protanopia
no red cones#28261bDeuteranopia
no green cones#142a27Tritanopia
no blue cones#272727Achromatopsia
no color vision
CSS examples
.background { background-color: #172b1a; }
.text { color: #172b1a; }
.border { border: 2px solid #172b1a; }
.transparent { background-color: rgb(23 43 26 / 50%); }
.gradient { background: linear-gradient(to right, #172b1a, #172b24); }
Similar colors
#112211Nightmare#17240bMidnight Pines#172808Lindworm Green#003322Pitch-Black Forests#223311Darkest Forest#113311Dark Serpent#032e0eHaunted Forest#162825Swamp Thing
Closest common color name: British Racing Green.
Questions
- What color is #172B1A?
- #172B1A is a very dark, desaturated green, closest to the named color Nightmare. It belongs to the green family of colors.
- What is the RGB value of #172B1A?
- The RGB value is 23, 43, 26: 23 red, 43 green and 26 blue on a 0 to 255 scale.
- What is the complementary color of #172B1A?
- The complementary color is #2B1728, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #172B1A?
- White text. Black text has a contrast ratio of 1.4:1 and white text 15.03:1. WCAG asks for at least 4.5:1 for normal text.