#342E0A color
The hex color #342E0A is a very dark, moderate yellow.
In the RGB color model it is made of 20.4% red, 18% green and 3.9% blue (52, 46, 10).
Its hue angle is 51°, with 68% saturation and 12% lightness. For print, the CMYK equivalent is 0% cyan, 12% magenta, 81% yellow and 80% black.
The closest named color is Secret Passage (#372A05), a difference of 4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.63:1).
#342E0A color codes
| HEX | #342E0A | |
|---|---|---|
| RGB | rgb(52, 46, 10) | |
| RGB percent | rgb(20.4%, 18%, 3.9%) | |
| HSL | hsl(51, 68%, 12%) | |
| HSV / HSB | hsv(51, 81%, 20%) | |
| CMYK | cmyk(0%, 12%, 81%, 80%) | |
| CIE LAB | lab(18.83, -2.45, 22.73) | |
| CIE LCH | lch(18.83, 22.86, 96.16) | |
| CIE XYZ | xyz(2.448, 2.706, 0.68) | |
| Decimal | 3419658 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #342E0A, 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 #342E0A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.54:1 | Fail | Fail | Fail |
| Sample text | 13.63:1 | Pass | Pass | Pass |
| #342E0A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.63:1 | Pass | Pass | Pass |
| Sample text | 1.54: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 #342E0A looks to people with the most common types of color vision deficiency.
#332d06Protanopia
no red cones#352f0cDeuteranopia
no green cones#392a27Tritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
CSS examples
.background { background-color: #342e0a; }
.text { color: #342e0a; }
.border { border: 2px solid #342e0a; }
.transparent { background-color: rgb(52 46 10 / 50%); }
.gradient { background: linear-gradient(to right, #342e0a, #25340a); }
Similar colors
#372a05Secret Passage#333300Wasabi Nori#473e23Madras#4e3e1fAvocado Stone#444411Alligator Gladiator#373e02Dark Olive#404404Green Not Found#393227Creole
Closest common color name: Taupe.
Questions
- What color is #342E0A?
- #342E0A is a very dark, moderate yellow, closest to the named color Secret Passage. It belongs to the yellow family of colors.
- What is the RGB value of #342E0A?
- The RGB value is 52, 46, 10: 52 red, 46 green and 10 blue on a 0 to 255 scale.
- What is the complementary color of #342E0A?
- The complementary color is #0A1034, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #342E0A?
- White text. Black text has a contrast ratio of 1.54:1 and white text 13.63:1. WCAG asks for at least 4.5:1 for normal text.