#20342B color
The hex color #20342B is a very dark, grayish spring green.
In the RGB color model it is made of 12.5% red, 20.4% green and 16.9% blue (32, 52, 43).
Its hue angle is 153°, with 24% saturation and 16% lightness. For print, the CMYK equivalent is 38% cyan, 0% magenta, 17% yellow and 80% black.
The closest named color is Swamp Thing (#162825), a difference of 4.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.23:1).
#20342B color codes
| HEX | #20342B | |
|---|---|---|
| RGB | rgb(32, 52, 43) | |
| RGB percent | rgb(12.5%, 20.4%, 16.9%) | |
| HSL | hsl(153, 24%, 16%) | |
| HSV / HSB | hsv(153, 38%, 20%) | |
| CMYK | cmyk(38%, 0%, 17%, 80%) | |
| CIE LAB | lab(19.79, -10.5, 3.15) | |
| CIE LCH | lch(19.79, 10.97, 163.3) | |
| CIE XYZ | xyz(2.26, 2.937, 2.733) | |
| Decimal | 2110507 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #20342B, 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 #20342B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.59:1 | Fail | Fail | Fail |
| Sample text | 13.23:1 | Pass | Pass | Pass |
| #20342B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.23: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 #20342B looks to people with the most common types of color vision deficiency.
#33312bProtanopia
no red cones#302f2cDeuteranopia
no green cones#1b3431Tritanopia
no blue cones#303030Achromatopsia
no color vision
CSS examples
.background { background-color: #20342b; }
.text { color: #20342b; }
.border { border: 2px solid #20342b; }
.transparent { background-color: rgb(32 52 43 / 50%); }
.gradient { background: linear-gradient(to right, #20342b, #203334); }
Similar colors
#162825Swamp Thing#264334Everglade#293432Aztec#2b322dTerminal Black#12403cBotanical Night#112211Nightmare#133337Elite Teal#003322Pitch-Black Forests
Closest common color name: Onyx.
Questions
- What color is #20342B?
- #20342B 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 #20342B?
- The RGB value is 32, 52, 43: 32 red, 52 green and 43 blue on a 0 to 255 scale.
- What is the complementary color of #20342B?
- The complementary color is #342029, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #20342B?
- White text. Black text has a contrast ratio of 1.59:1 and white text 13.23:1. WCAG asks for at least 4.5:1 for normal text.