#178A2A color
The hex color #178A2A is a dark, moderate green.
In the RGB color model it is made of 9% red, 54.1% green and 16.5% blue (23, 138, 42).
Its hue angle is 130°, with 71% saturation and 32% lightness. For print, the CMYK equivalent is 83% cyan, 0% magenta, 70% yellow and 46% black.
The closest named color is Asian Spice (#118822), a difference of 1.1 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 4.71:1).
#178A2A color codes
| HEX | #178A2A | |
|---|---|---|
| RGB | rgb(23, 138, 42) | |
| RGB percent | rgb(9%, 54.1%, 16.5%) | |
| HSL | hsl(130, 71%, 32%) | |
| HSV / HSB | hsv(130, 83%, 54%) | |
| CMYK | cmyk(83%, 0%, 70%, 46%) | |
| CIE LAB | lab(50.13, -50.1, 41.24) | |
| CIE LCH | lch(50.13, 64.89, 140.54) | |
| CIE XYZ | xyz(9.859, 18.525, 5.246) | |
| Decimal | 1542698 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #178A2A, 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 #178A2A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.71:1 | Pass | Fail | Pass |
| Sample text | 4.46:1 | Fail | Fail | Pass |
| #178A2A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.46:1 | Fail | Fail | Pass |
| Sample text | 4.71: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 #178A2A looks to people with the most common types of color vision deficiency.
#8c7c1dProtanopia
no red cones#807433Deuteranopia
no green cones#008676Tritanopia
no blue cones#777777Achromatopsia
no color vision
CSS examples
.background { background-color: #178a2a; }
.text { color: #178a2a; }
.border { border: 2px solid #178a2a; }
.transparent { background-color: rgb(23 138 42 / 50%); }
.gradient { background: linear-gradient(to right, #178a2a, #178a63); }
Similar colors
#118822Asian Spice#228b22Forest Green#008833Broccoli Paradise#008811Lush Garden#3d8b37Resplendent Growth#008800Fine Pine#428929La Palma#448833Overgrown Mausoleum
Questions
- What color is #178A2A?
- #178A2A is a dark, moderate green, closest to the named color Asian Spice. It belongs to the green family of colors.
- What is the RGB value of #178A2A?
- The RGB value is 23, 138, 42: 23 red, 138 green and 42 blue on a 0 to 255 scale.
- What is the complementary color of #178A2A?
- The complementary color is #8A1777, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #178A2A?
- Black text. Black text has a contrast ratio of 4.71:1 and white text 4.46:1. WCAG asks for at least 4.5:1 for normal text.