#314940 color
The hex color #314940 is a dark, grayish spring green.
In the RGB color model it is made of 19.2% red, 28.6% green and 25.1% blue (49, 73, 64).
Its hue angle is 158°, with 20% saturation and 24% lightness. For print, the CMYK equivalent is 33% cyan, 0% magenta, 12% yellow and 71% 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 9.73:1).
#314940 color codes
| HEX | #314940 | |
|---|---|---|
| RGB | rgb(49, 73, 64) | |
| RGB percent | rgb(19.2%, 28.6%, 25.1%) | |
| HSL | hsl(158, 20%, 24%) | |
| HSV / HSB | hsv(158, 33%, 29%) | |
| CMYK | cmyk(33%, 0%, 12%, 71%) | |
| CIE LAB | lab(28.87, -11.54, 2.43) | |
| CIE LCH | lch(28.87, 11.79, 168.09) | |
| CIE XYZ | xyz(4.574, 5.788, 5.726) | |
| Decimal | 3230016 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #314940, 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 #314940 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.16:1 | Fail | Fail | Fail |
| Sample text | 9.73:1 | Pass | Pass | Pass |
| #314940 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.73:1 | Pass | Pass | Pass |
| Sample text | 2.16: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 #314940 looks to people with the most common types of color vision deficiency.
#484640Protanopia
no red cones#434341Deuteranopia
no green cones#2b4946Tritanopia
no blue cones#444444Achromatopsia
no color vision
CSS examples
.background { background-color: #314940; }
.text { color: #314940; }
.border { border: 2px solid #314940; }
.transparent { background-color: rgb(49 73 64 / 50%); }
.gradient { background: linear-gradient(to right, #314940, #314649); }
Similar colors
#334d41Pine Needle#33534bHunter#264334Everglade#394c3bMountain View#2f4f4fDark Slate Gray#3c463eDeep Forest#3e594cPlantation#3c4f4eNight Watch
Questions
- What color is #314940?
- #314940 is a dark, grayish spring green, closest to the named color Pine Needle. It belongs to the gray family of colors.
- What is the RGB value of #314940?
- The RGB value is 49, 73, 64: 49 red, 73 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #314940?
- The complementary color is #49313A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #314940?
- White text. Black text has a contrast ratio of 2.16:1 and white text 9.73:1. WCAG asks for at least 4.5:1 for normal text.