#173F18 color
The hex color #173F18 is a very dark, desaturated green.
In the RGB color model it is made of 9% red, 24.7% green and 9.4% blue (23, 63, 24).
Its hue angle is 122°, with 47% saturation and 17% lightness. For print, the CMYK equivalent is 63% cyan, 0% magenta, 62% yellow and 75% black.
The closest named color is Queen of Trees (#1C401F), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.93:1).
#173F18 color codes
| HEX | #173F18 | |
|---|---|---|
| RGB | rgb(23, 63, 24) | |
| RGB percent | rgb(9%, 24.7%, 9.4%) | |
| HSL | hsl(122, 47%, 17%) | |
| HSV / HSB | hsv(122, 63%, 25%) | |
| CMYK | cmyk(63%, 0%, 62%, 75%) | |
| CIE LAB | lab(23.01, -23.61, 19.56) | |
| CIE LCH | lch(23.01, 30.66, 140.37) | |
| CIE XYZ | xyz(2.296, 3.803, 1.477) | |
| Decimal | 1523480 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #173F18, 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 #173F18 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.76:1 | Fail | Fail | Fail |
| Sample text | 11.93:1 | Pass | Pass | Pass |
| #173F18 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.93:1 | Pass | Pass | Pass |
| Sample text | 1.76: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 #173F18 looks to people with the most common types of color vision deficiency.
#403914Protanopia
no red cones#3b361bDeuteranopia
no green cones#103d36Tritanopia
no blue cones#373737Achromatopsia
no color vision
CSS examples
.background { background-color: #173f18; }
.text { color: #173f18; }
.border { border: 2px solid #173f18; }
.transparent { background-color: rgb(23 63 24 / 50%); }
.gradient { background: linear-gradient(to right, #173f18, #173f2c); }
Similar colors
#1c401fQueen of Trees#21421eMyrtle#12390dMelancholia#114411Realm of the Underworld#014420Deep Pond#113311Dark Serpent#003311Haunted Hills#014426Lost in the Woods
Closest common color name: British Racing Green.
Questions
- What color is #173F18?
- #173F18 is a very dark, desaturated green, closest to the named color Queen of Trees. It belongs to the green family of colors.
- What is the RGB value of #173F18?
- The RGB value is 23, 63, 24: 23 red, 63 green and 24 blue on a 0 to 255 scale.
- What is the complementary color of #173F18?
- The complementary color is #3F173E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #173F18?
- White text. Black text has a contrast ratio of 1.76:1 and white text 11.93:1. WCAG asks for at least 4.5:1 for normal text.