#20342D color
The hex color #20342D is a very dark, grayish spring green.
In the RGB color model it is made of 12.5% red, 20.4% green and 17.6% blue (32, 52, 45).
Its hue angle is 159°, with 24% saturation and 16% lightness. For print, the CMYK equivalent is 38% cyan, 0% magenta, 13% yellow and 80% black.
The closest named color is Swamp Thing (#162825), a difference of 4.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.2:1).
#20342D color codes
| HEX | #20342D | |
|---|---|---|
| RGB | rgb(32, 52, 45) | |
| RGB percent | rgb(12.5%, 20.4%, 17.6%) | |
| HSL | hsl(159, 24%, 16%) | |
| HSV / HSB | hsv(159, 38%, 20%) | |
| CMYK | cmyk(38%, 0%, 13%, 80%) | |
| CIE LAB | lab(19.85, -9.97, 1.87) | |
| CIE LCH | lch(19.85, 10.15, 169.35) | |
| CIE XYZ | xyz(2.297, 2.952, 2.931) | |
| Decimal | 2110509 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #20342D, 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 #20342D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.59:1 | Fail | Fail | Fail |
| Sample text | 13.2:1 | Pass | Pass | Pass |
| #20342D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.2:1 | Pass | Pass | Pass |
| Sample text | 1.59: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 #20342D looks to people with the most common types of color vision deficiency.
#33312dProtanopia
no red cones#2f2f2dDeuteranopia
no green cones#1b3432Tritanopia
no blue cones#303030Achromatopsia
no color vision
CSS examples
.background { background-color: #20342d; }
.text { color: #20342d; }
.border { border: 2px solid #20342d; }
.transparent { background-color: rgb(32 52 45 / 50%); }
.gradient { background: linear-gradient(to right, #20342d, #203134); }
Similar colors
#162825Swamp Thing#293432Aztec#2b322dTerminal Black#264334Everglade#133337Elite Teal#12403cBotanical Night#3c463eDeep Forest#112211Nightmare
Closest common color name: Onyx.
Questions
- What color is #20342D?
- #20342D is a very dark, grayish spring green, closest to the named color Swamp Thing. It belongs to the black family of colors.
- What is the RGB value of #20342D?
- The RGB value is 32, 52, 45: 32 red, 52 green and 45 blue on a 0 to 255 scale.
- What is the complementary color of #20342D?
- The complementary color is #342027, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #20342D?
- White text. Black text has a contrast ratio of 1.59:1 and white text 13.2:1. WCAG asks for at least 4.5:1 for normal text.