#342C12 color
The hex color #342C12 is a very dark, desaturated yellow.
In the RGB color model it is made of 20.4% red, 17.3% green and 7.1% blue (52, 44, 18).
Its hue angle is 46°, with 49% saturation and 14% lightness. For print, the CMYK equivalent is 0% cyan, 15% magenta, 65% yellow and 80% black.
The closest named color is Secret Passage (#372A05), a difference of 3.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.86:1).
#342C12 color codes
| HEX | #342C12 | |
|---|---|---|
| RGB | rgb(52, 44, 18) | |
| RGB percent | rgb(20.4%, 17.3%, 7.1%) | |
| HSL | hsl(46, 49%, 14%) | |
| HSV / HSB | hsv(46, 65%, 20%) | |
| CMYK | cmyk(0%, 15%, 65%, 80%) | |
| CIE LAB | lab(18.26, -0.43, 18.01) | |
| CIE LCH | lch(18.26, 18.01, 91.38) | |
| CIE XYZ | xyz(2.426, 2.575, 0.941) | |
| Decimal | 3419154 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #342C12, 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 #342C12 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.52:1 | Fail | Fail | Fail |
| Sample text | 13.86:1 | Pass | Pass | Pass |
| #342C12 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.86:1 | Pass | Pass | Pass |
| Sample text | 1.52: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 #342C12 looks to people with the most common types of color vision deficiency.
#312b10Protanopia
no red cones#332e13Deuteranopia
no green cones#382826Tritanopia
no blue cones#2d2d2dAchromatopsia
no color vision
CSS examples
.background { background-color: #342c12; }
.text { color: #342c12; }
.border { border: 2px solid #342c12; }
.transparent { background-color: rgb(52 44 18 / 50%); }
.gradient { background: linear-gradient(to right, #342c12, #2b3412); }
Similar colors
#372a05Secret Passage#473e23Madras#393227Creole#4e3e1fAvocado Stone#333300Wasabi Nori#3c2f23Cola#1f180aNoir Mystique#4b3621Café Noir
Closest common color name: Taupe.
Questions
- What color is #342C12?
- #342C12 is a very dark, desaturated yellow, closest to the named color Secret Passage. It belongs to the brown family of colors.
- What is the RGB value of #342C12?
- The RGB value is 52, 44, 18: 52 red, 44 green and 18 blue on a 0 to 255 scale.
- What is the complementary color of #342C12?
- The complementary color is #121A34, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #342C12?
- White text. Black text has a contrast ratio of 1.52:1 and white text 13.86:1. WCAG asks for at least 4.5:1 for normal text.