#342F2E color
The hex color #342F2E is a dark gray.
In the RGB color model it is made of 20.4% red, 18.4% green and 18% blue (52, 47, 46).
Its hue angle is 10°, with 6% saturation and 19% lightness. For print, the CMYK equivalent is 0% cyan, 10% magenta, 12% yellow and 80% black.
The closest named color is Night Rider (#332E2E), a difference of 0.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.19:1).
#342F2E color codes
| HEX | #342F2E | |
|---|---|---|
| RGB | rgb(52, 47, 46) | |
| RGB percent | rgb(20.4%, 18.4%, 18%) | |
| HSL | hsl(10, 6%, 19%) | |
| HSV / HSB | hsv(10, 12%, 20%) | |
| CMYK | cmyk(0%, 10%, 12%, 80%) | |
| CIE LAB | lab(19.88, 2.03, 1.45) | |
| CIE LCH | lch(19.88, 2.49, 35.65) | |
| CIE XYZ | xyz(2.926, 2.96, 3.002) | |
| Decimal | 3419950 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #342F2E, 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 #342F2E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.59:1 | Fail | Fail | Fail |
| Sample text | 13.19:1 | Pass | Pass | Pass |
| #342F2E 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 #342F2E looks to people with the most common types of color vision deficiency.
#30302eProtanopia
no red cones#31302eDeuteranopia
no green cones#352e2fTritanopia
no blue cones#303030Achromatopsia
no color vision
CSS examples
.background { background-color: #342f2e; }
.text { color: #342f2e; }
.border { border: 2px solid #342f2e; }
.transparent { background-color: rgb(52 47 46 / 50%); }
.gradient { background: linear-gradient(to right, #342f2e, #34322e); }
Similar colors
#332e2eNight Rider#322c2bDiesel#332f2cHoly Crow#3a3532Kilimanjaro#312b27Noir#3c3535After Dark#333232Dark Charcoal#2e2e2eCarbon Fibre
Closest common color name: Jet Black.
Questions
- What color is #342F2E?
- #342F2E is a dark gray, closest to the named color Night Rider. It belongs to the black family of colors.
- What is the RGB value of #342F2E?
- The RGB value is 52, 47, 46: 52 red, 47 green and 46 blue on a 0 to 255 scale.
- What is the complementary color of #342F2E?
- The complementary color is #2E3334, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #342F2E?
- 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.