#22342A color
The hex color #22342A is a very dark, grayish green.
In the RGB color model it is made of 13.3% red, 20.4% green and 16.5% blue (34, 52, 42).
Its hue angle is 147°, with 21% saturation and 17% lightness. For print, the CMYK equivalent is 35% cyan, 0% magenta, 19% yellow and 80% black.
The closest named color is Swamp Thing (#162825), a difference of 5.2 ΔE.
White text is the more readable choice on this background (contrast 13.19:1).
#22342A color codes
| HEX | #22342A | |
|---|---|---|
| RGB | rgb(34, 52, 42) | |
| RGB percent | rgb(13.3%, 20.4%, 16.5%) | |
| HSL | hsl(147, 21%, 17%) | |
| HSV / HSB | hsv(147, 35%, 20%) | |
| CMYK | cmyk(35%, 0%, 19%, 80%) | |
| CIE LAB | lab(19.9, -9.99, 4) | |
| CIE LCH | lch(19.9, 10.76, 158.18) | |
| CIE XYZ | xyz(2.305, 2.963, 2.641) | |
| Decimal | 2241578 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #22342A, 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 #22342A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.59:1 | Fail | Fail | Fail |
| Sample text | 13.19:1 | Pass | Pass | Pass |
| #22342A 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 #22342A looks to people with the most common types of color vision deficiency.
#343129Protanopia
no red cones#312f2bDeuteranopia
no green cones#1e3431Tritanopia
no blue cones#303030Achromatopsia
no color vision
CSS examples
.background { background-color: #22342a; }
.text { color: #22342a; }
.border { border: 2px solid #22342a; }
.transparent { background-color: rgb(34 52 42 / 50%); }
.gradient { background: linear-gradient(to right, #22342a, #223433); }
Similar colors
#162825Swamp Thing#264334Everglade#293432Aztec#2b322dTerminal Black#112211Nightmare#2b2e26Marshland#3c463eDeep Forest#12403cBotanical Night
Closest common color name: Onyx.
Questions
- What color is #22342A?
- #22342A is a very dark, grayish green, closest to the named color Swamp Thing. It belongs to the black family of colors.
- What is the RGB value of #22342A?
- The RGB value is 34, 52, 42: 34 red, 52 green and 42 blue on a 0 to 255 scale.
- What is the complementary color of #22342A?
- The complementary color is #34222C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #22342A?
- 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.