#172418 color
The hex color #172418 is a very dark, grayish green.
In the RGB color model it is made of 9% red, 14.1% green and 9.4% blue (23, 36, 24).
Its hue angle is 125°, with 22% saturation and 12% lightness. For print, the CMYK equivalent is 36% cyan, 0% magenta, 33% yellow and 86% black.
The closest named color is Nightmare (#112211), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.13:1).
#172418 color codes
| HEX | #172418 | |
|---|---|---|
| RGB | rgb(23, 36, 24) | |
| RGB percent | rgb(9%, 14.1%, 9.4%) | |
| HSL | hsl(125, 22%, 12%) | |
| HSV / HSB | hsv(125, 36%, 14%) | |
| CMYK | cmyk(36%, 0%, 33%, 86%) | |
| CIE LAB | lab(12.67, -8.82, 6.26) | |
| CIE LCH | lch(12.67, 10.82, 144.63) | |
| CIE XYZ | xyz(1.149, 1.51, 1.095) | |
| Decimal | 1516568 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #172418, 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 #172418 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.3:1 | Fail | Fail | Fail |
| Sample text | 16.13:1 | Pass | Pass | Pass |
| #172418 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.13:1 | Pass | Pass | Pass |
| Sample text | 1.3: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 #172418 looks to people with the most common types of color vision deficiency.
#242217Protanopia
no red cones#222019Deuteranopia
no green cones#162321Tritanopia
no blue cones#212121Achromatopsia
no color vision
CSS examples
.background { background-color: #172418; }
.text { color: #172418; }
.border { border: 2px solid #172418; }
.transparent { background-color: rgb(23 36 24 / 50%); }
.gradient { background: linear-gradient(to right, #172418, #17241f); }
Similar colors
#112211Nightmare#17240bMidnight Pines#1e231cUnderworld#162825Swamp Thing#001000Cosmic Bit Flip#091101Memorial Black#041108Jedi Night#020f03Blackn’t
Closest common color name: Onyx.
Questions
- What color is #172418?
- #172418 is a very dark, grayish green, closest to the named color Nightmare. It belongs to the black family of colors.
- What is the RGB value of #172418?
- The RGB value is 23, 36, 24: 23 red, 36 green and 24 blue on a 0 to 255 scale.
- What is the complementary color of #172418?
- The complementary color is #241723, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #172418?
- White text. Black text has a contrast ratio of 1.3:1 and white text 16.13:1. WCAG asks for at least 4.5:1 for normal text.