#313F34 color
The hex color #313F34 is a dark, grayish green.
In the RGB color model it is made of 19.2% red, 24.7% green and 20.4% blue (49, 63, 52).
Its hue angle is 133°, with 13% saturation and 22% lightness. For print, the CMYK equivalent is 22% cyan, 0% magenta, 17% yellow and 75% black.
The closest named color is Deep Forest (#3C463E), a difference of 3.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.1:1).
#313F34 color codes
| HEX | #313F34 | |
|---|---|---|
| RGB | rgb(49, 63, 52) | |
| RGB percent | rgb(19.2%, 24.7%, 20.4%) | |
| HSL | hsl(133, 13%, 22%) | |
| HSV / HSB | hsv(133, 22%, 25%) | |
| CMYK | cmyk(22%, 0%, 17%, 75%) | |
| CIE LAB | lab(25.12, -8.36, 4.89) | |
| CIE LCH | lch(25.12, 9.68, 149.66) | |
| CIE XYZ | xyz(3.664, 4.456, 3.915) | |
| Decimal | 3227444 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #313F34, 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 #313F34 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.89:1 | Fail | Fail | Fail |
| Sample text | 11.1:1 | Pass | Pass | Pass |
| #313F34 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.1:1 | Pass | Pass | Pass |
| Sample text | 1.89: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 #313F34 looks to people with the most common types of color vision deficiency.
#3f3d33Protanopia
no red cones#3d3b35Deuteranopia
no green cones#2f3e3cTritanopia
no blue cones#3c3c3cAchromatopsia
no color vision
CSS examples
.background { background-color: #313f34; }
.text { color: #313f34; }
.border { border: 2px solid #313f34; }
.transparent { background-color: rgb(49 63 52 / 50%); }
.gradient { background: linear-gradient(to right, #313f34, #313f3b); }
Similar colors
#3c463eDeep Forest#394c3bMountain View#264334Everglade#334d41Pine Needle#2b322dTerminal Black#444b43Ancient Pine#293432Aztec#36482fPalm Leaf
Closest common color name: Onyx.
Questions
- What color is #313F34?
- #313F34 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 #313F34?
- The RGB value is 49, 63, 52: 49 red, 63 green and 52 blue on a 0 to 255 scale.
- What is the complementary color of #313F34?
- The complementary color is #3F313C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #313F34?
- White text. Black text has a contrast ratio of 1.89:1 and white text 11.1:1. WCAG asks for at least 4.5:1 for normal text.