#178D1B color
The hex color #178D1B is a dark, moderate green.
In the RGB color model it is made of 9% red, 55.3% green and 10.6% blue (23, 141, 27).
Its hue angle is 122°, with 72% saturation and 32% lightness. For print, the CMYK equivalent is 84% cyan, 0% magenta, 81% yellow and 45% black.
The closest named color is Forest Green (#228B22), a difference of 1.1 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 4.86:1).
#178D1B color codes
| HEX | #178D1B | |
|---|---|---|
| RGB | rgb(23, 141, 27) | |
| RGB percent | rgb(9%, 55.3%, 10.6%) | |
| HSL | hsl(122, 72%, 32%) | |
| HSV / HSB | hsv(122, 84%, 55%) | |
| CMYK | cmyk(84%, 0%, 81%, 45%) | |
| CIE LAB | lab(51.05, -52.36, 47.85) | |
| CIE LCH | lch(51.05, 70.93, 137.58) | |
| CIE XYZ | xyz(10.075, 19.31, 4.233) | |
| Decimal | 1543451 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #178D1B, 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 #178D1B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.86:1 | Pass | Fail | Pass |
| Sample text | 4.32:1 | Fail | Fail | Pass |
| #178D1B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.32:1 | Fail | Fail | Pass |
| Sample text | 4.86:1 | Pass | Fail | Pass |
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 #178D1B looks to people with the most common types of color vision deficiency.
#907f00Protanopia
no red cones#847629Deuteranopia
no green cones#008978Tritanopia
no blue cones#7a7a7aAchromatopsia
no color vision
CSS examples
.background { background-color: #178d1b; }
.text { color: #178d1b; }
.border { border: 2px solid #178d1b; }
.transparent { background-color: rgb(23 141 27 / 50%); }
.gradient { background: linear-gradient(to right, #178d1b, #178d56); }
Similar colors
#228b22Forest Green#008f00Clover#009000Maniac Green#008811Lush Garden#118822Asian Spice#008800Fine Pine#228800Green Bell Pepper#008400Lucky Clover
Questions
- What color is #178D1B?
- #178D1B is a dark, moderate green, closest to the named color Forest Green. It belongs to the green family of colors.
- What is the RGB value of #178D1B?
- The RGB value is 23, 141, 27: 23 red, 141 green and 27 blue on a 0 to 255 scale.
- What is the complementary color of #178D1B?
- The complementary color is #8D1789, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #178D1B?
- Black text. Black text has a contrast ratio of 4.86:1 and white text 4.32:1. WCAG asks for at least 4.5:1 for normal text.