#31342C color
The hex color #31342C is a very dark, grayish yellow-green.
In the RGB color model it is made of 19.2% red, 20.4% green and 17.3% blue (49, 52, 44).
Its hue angle is 82°, with 8% saturation and 19% lightness. For print, the CMYK equivalent is 6% cyan, 0% magenta, 15% yellow and 80% black.
The closest named color is Marshland (#2B2E26), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.66:1).
#31342C color codes
| HEX | #31342C | |
|---|---|---|
| RGB | rgb(49, 52, 44) | |
| RGB percent | rgb(19.2%, 20.4%, 17.3%) | |
| HSL | hsl(82, 8%, 19%) | |
| HSV / HSB | hsv(82, 15%, 20%) | |
| CMYK | cmyk(6%, 0%, 15%, 80%) | |
| CIE LAB | lab(21.17, -3.11, 4.62) | |
| CIE LCH | lch(21.17, 5.57, 123.93) | |
| CIE XYZ | xyz(2.949, 3.291, 2.862) | |
| Decimal | 3224620 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #31342C, 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 #31342C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.66:1 | Fail | Fail | Fail |
| Sample text | 12.66:1 | Pass | Pass | Pass |
| #31342C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.66:1 | Pass | Pass | Pass |
| Sample text | 1.66: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 #31342C looks to people with the most common types of color vision deficiency.
#35332cProtanopia
no red cones#35332cDeuteranopia
no green cones#323332Tritanopia
no blue cones#333333Achromatopsia
no color vision
CSS examples
.background { background-color: #31342c; }
.text { color: #31342c; }
.border { border: 2px solid #31342c; }
.transparent { background-color: rgb(49 52 44 / 50%); }
.gradient { background: linear-gradient(to right, #31342c, #2d342c); }
Similar colors
#2b2e26Marshland#2b322dTerminal Black#353935Onyx#313330Oil#3b3c36Black Olive#262926Bitter Liquorice#2f3434Phantom Ship#293432Aztec
Questions
- What color is #31342C?
- #31342C is a very dark, grayish yellow-green, closest to the named color Marshland. It belongs to the gray family of colors.
- What is the RGB value of #31342C?
- The RGB value is 49, 52, 44: 49 red, 52 green and 44 blue on a 0 to 255 scale.
- What is the complementary color of #31342C?
- The complementary color is #2F2C34, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #31342C?
- White text. Black text has a contrast ratio of 1.66:1 and white text 12.66:1. WCAG asks for at least 4.5:1 for normal text.