#342D02 color
The hex color #342D02 is a very dark, vivid yellow.
In the RGB color model it is made of 20.4% red, 17.6% green and 0.8% blue (52, 45, 2).
Its hue angle is 52°, with 93% saturation and 11% lightness. For print, the CMYK equivalent is 0% cyan, 13% magenta, 96% yellow and 80% black.
The closest named color is Secret Passage (#372A05), a difference of 3.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.8:1).
#342D02 color codes
| HEX | #342D02 | |
|---|---|---|
| RGB | rgb(52, 45, 2) | |
| RGB percent | rgb(20.4%, 17.6%, 0.8%) | |
| HSL | hsl(52, 93%, 11%) | |
| HSV / HSB | hsv(52, 96%, 20%) | |
| CMYK | cmyk(0%, 13%, 96%, 80%) | |
| CIE LAB | lab(18.41, -2.36, 25.5) | |
| CIE LCH | lch(18.41, 25.61, 95.28) | |
| CIE XYZ | xyz(2.366, 2.611, 0.437) | |
| Decimal | 3419394 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #342D02, 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 #342D02 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.52:1 | Fail | Fail | Fail |
| Sample text | 13.8:1 | Pass | Pass | Pass |
| #342D02 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.8: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 #342D02 looks to people with the most common types of color vision deficiency.
#332b00Protanopia
no red cones#352e04Deuteranopia
no green cones#392925Tritanopia
no blue cones#2d2d2dAchromatopsia
no color vision
CSS examples
.background { background-color: #342d02; }
.text { color: #342d02; }
.border { border: 2px solid #342d02; }
.transparent { background-color: rgb(52 45 2 / 50%); }
.gradient { background: linear-gradient(to right, #342d02, #223402); }
Similar colors
#372a05Secret Passage#333300Wasabi Nori#473e23Madras#444411Alligator Gladiator#373e02Dark Olive#4e3e1fAvocado Stone#404404Green Not Found#563c0dPineapple
Closest common color name: Army Green.
Questions
- What color is #342D02?
- #342D02 is a very dark, vivid yellow, closest to the named color Secret Passage. It belongs to the yellow family of colors.
- What is the RGB value of #342D02?
- The RGB value is 52, 45, 2: 52 red, 45 green and 2 blue on a 0 to 255 scale.
- What is the complementary color of #342D02?
- The complementary color is #020934, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #342D02?
- White text. Black text has a contrast ratio of 1.52:1 and white text 13.8:1. WCAG asks for at least 4.5:1 for normal text.