#21342C color
The hex color #21342C is a very dark, grayish spring green.
In the RGB color model it is made of 12.9% red, 20.4% green and 17.3% blue (33, 52, 44).
Its hue angle is 155°, with 22% saturation and 17% lightness. For print, the CMYK equivalent is 37% cyan, 0% magenta, 15% yellow and 80% black.
The closest named color is Swamp Thing (#162825), a difference of 4.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.19:1).
#21342C color codes
| HEX | #21342C | |
|---|---|---|
| RGB | rgb(33, 52, 44) | |
| RGB percent | rgb(12.9%, 20.4%, 17.3%) | |
| HSL | hsl(155, 22%, 17%) | |
| HSV / HSB | hsv(155, 37%, 20%) | |
| CMYK | cmyk(37%, 0%, 15%, 80%) | |
| CIE LAB | lab(19.89, -9.86, 2.62) | |
| CIE LCH | lch(19.89, 10.2, 165.15) | |
| CIE XYZ | xyz(2.31, 2.961, 2.832) | |
| Decimal | 2176044 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #21342C, 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 #21342C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.59:1 | Fail | Fail | Fail |
| Sample text | 13.19:1 | Pass | Pass | Pass |
| #21342C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.19: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 #21342C looks to people with the most common types of color vision deficiency.
#33312cProtanopia
no red cones#302f2cDeuteranopia
no green cones#1d3432Tritanopia
no blue cones#303030Achromatopsia
no color vision
CSS examples
.background { background-color: #21342c; }
.text { color: #21342c; }
.border { border: 2px solid #21342c; }
.transparent { background-color: rgb(33 52 44 / 50%); }
.gradient { background: linear-gradient(to right, #21342c, #213334); }
Similar colors
#162825Swamp Thing#293432Aztec#2b322dTerminal Black#264334Everglade#12403cBotanical Night#133337Elite Teal#112211Nightmare#3c463eDeep Forest
Closest common color name: Onyx.
Questions
- What color is #21342C?
- #21342C 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 #21342C?
- The RGB value is 33, 52, 44: 33 red, 52 green and 44 blue on a 0 to 255 scale.
- What is the complementary color of #21342C?
- The complementary color is #342129, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #21342C?
- White text. Black text has a contrast ratio of 1.59:1 and white text 13.19:1. WCAG asks for at least 4.5:1 for normal text.