#394940 color
The hex color #394940 is a dark, grayish green.
In the RGB color model it is made of 22.4% red, 28.6% green and 25.1% blue (57, 73, 64).
Its hue angle is 146°, with 12% saturation and 25% lightness. For print, the CMYK equivalent is 22% cyan, 0% magenta, 12% yellow and 71% black.
The closest named color is Deep Forest (#3C463E), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.54:1).
#394940 color codes
| HEX | #394940 | |
|---|---|---|
| RGB | rgb(57, 73, 64) | |
| RGB percent | rgb(22.4%, 28.6%, 25.1%) | |
| HSL | hsl(146, 12%, 25%) | |
| HSV / HSB | hsv(146, 22%, 29%) | |
| CMYK | cmyk(22%, 0%, 12%, 71%) | |
| CIE LAB | lab(29.42, -8.51, 3.3) | |
| CIE LCH | lch(29.42, 9.13, 158.79) | |
| CIE XYZ | xyz(4.995, 6.005, 5.745) | |
| Decimal | 3754304 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #394940, 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 #394940 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.2:1 | Fail | Fail | Fail |
| Sample text | 9.54:1 | Pass | Pass | Pass |
| #394940 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.54:1 | Pass | Pass | Pass |
| Sample text | 2.2: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 #394940 looks to people with the most common types of color vision deficiency.
#494740Protanopia
no red cones#464540Deuteranopia
no green cones#364946Tritanopia
no blue cones#454545Achromatopsia
no color vision
CSS examples
.background { background-color: #394940; }
.text { color: #394940; }
.border { border: 2px solid #394940; }
.transparent { background-color: rgb(57 73 64 / 50%); }
.gradient { background: linear-gradient(to right, #394940, #394948); }
Similar colors
#3c463eDeep Forest#334d41Pine Needle#394c3bMountain View#444b43Ancient Pine#3c4f4eNight Watch#424c4aUrban Chic#424f3bHōjicha#33534bHunter
Closest common color name: Dark Slate Gray.
Questions
- What color is #394940?
- #394940 is a dark, grayish green, closest to the named color Deep Forest. It belongs to the gray family of colors.
- What is the RGB value of #394940?
- The RGB value is 57, 73, 64: 57 red, 73 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #394940?
- The complementary color is #493942, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #394940?
- White text. Black text has a contrast ratio of 2.2:1 and white text 9.54:1. WCAG asks for at least 4.5:1 for normal text.