#313D2E color
The hex color #313D2E is a dark, grayish green.
In the RGB color model it is made of 19.2% red, 23.9% green and 18% blue (49, 61, 46).
Its hue angle is 108°, with 14% saturation and 21% lightness. For print, the CMYK equivalent is 20% cyan, 0% magenta, 25% yellow and 76% black.
The closest named color is Deep Forest (#3C463E), a difference of 5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.43:1).
#313D2E color codes
| HEX | #313D2E | |
|---|---|---|
| RGB | rgb(49, 61, 46) | |
| RGB percent | rgb(19.2%, 23.9%, 18%) | |
| HSL | hsl(108, 14%, 21%) | |
| HSV / HSB | hsv(108, 25%, 24%) | |
| CMYK | cmyk(20%, 0%, 25%, 76%) | |
| CIE LAB | lab(24.28, -8.43, 7.66) | |
| CIE LCH | lch(24.28, 11.38, 137.74) | |
| CIE XYZ | xyz(3.428, 4.188, 3.212) | |
| Decimal | 3226926 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #313D2E, 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 #313D2E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.84:1 | Fail | Fail | Fail |
| Sample text | 11.43:1 | Pass | Pass | Pass |
| #313D2E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.43:1 | Pass | Pass | Pass |
| Sample text | 1.84: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 #313D2E looks to people with the most common types of color vision deficiency.
#3e3a2dProtanopia
no red cones#3c392fDeuteranopia
no green cones#303c39Tritanopia
no blue cones#3a3a3aAchromatopsia
no color vision
CSS examples
.background { background-color: #313d2e; }
.text { color: #313d2e; }
.border { border: 2px solid #313d2e; }
.transparent { background-color: rgb(49 61 46 / 50%); }
.gradient { background: linear-gradient(to right, #313d2e, #2e3d33); }
Similar colors
#3c463eDeep Forest#394c3bMountain View#36482fPalm Leaf#264334Everglade#424f3bHōjicha#2b322dTerminal Black#444b43Ancient Pine#334d41Pine Needle
Closest common color name: Onyx.
Questions
- What color is #313D2E?
- #313D2E 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 #313D2E?
- The RGB value is 49, 61, 46: 49 red, 61 green and 46 blue on a 0 to 255 scale.
- What is the complementary color of #313D2E?
- The complementary color is #3A2E3D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #313D2E?
- White text. Black text has a contrast ratio of 1.84:1 and white text 11.43:1. WCAG asks for at least 4.5:1 for normal text.