#345142 color
The hex color #345142 is a dark, grayish green.
In the RGB color model it is made of 20.4% red, 31.8% green and 25.9% blue (52, 81, 66).
Its hue angle is 149°, with 22% saturation and 26% lightness. For print, the CMYK equivalent is 36% cyan, 0% magenta, 19% yellow and 68% black.
The closest named color is Pine Needle (#334D41), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.74:1).
#345142 color codes
| HEX | #345142 | |
|---|---|---|
| RGB | rgb(52, 81, 66) | |
| RGB percent | rgb(20.4%, 31.8%, 25.9%) | |
| HSL | hsl(149, 22%, 26%) | |
| HSV / HSB | hsv(149, 36%, 32%) | |
| CMYK | cmyk(36%, 0%, 19%, 68%) | |
| CIE LAB | lab(31.83, -14.62, 5.41) | |
| CIE LCH | lch(31.83, 15.59, 159.69) | |
| CIE XYZ | xyz(5.342, 7.008, 6.224) | |
| Decimal | 3428674 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #345142, 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 #345142 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.4:1 | Fail | Fail | Fail |
| Sample text | 8.74:1 | Pass | Pass | Pass |
| #345142 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.74:1 | Pass | Pass | Pass |
| Sample text | 2.4: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 #345142 looks to people with the most common types of color vision deficiency.
#504d41Protanopia
no red cones#4b4943Deuteranopia
no green cones#2e514dTritanopia
no blue cones#4b4b4bAchromatopsia
no color vision
CSS examples
.background { background-color: #345142; }
.text { color: #345142; }
.border { border: 2px solid #345142; }
.transparent { background-color: rgb(52 81 66 / 50%); }
.gradient { background: linear-gradient(to right, #345142, #345151); }
Similar colors
#334d41Pine Needle#3e594cPlantation#3a533dHighlander#33534bHunter#394c3bMountain View#3e5e4eEthereal Woods#3a5b52Iridescent#264334Everglade
Closest common color name: Dark Slate Gray.
Questions
- What color is #345142?
- #345142 is a dark, grayish green, closest to the named color Pine Needle. It belongs to the green family of colors.
- What is the RGB value of #345142?
- The RGB value is 52, 81, 66: 52 red, 81 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #345142?
- The complementary color is #513443, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #345142?
- White text. Black text has a contrast ratio of 2.4:1 and white text 8.74:1. WCAG asks for at least 4.5:1 for normal text.