#313E2D color
The hex color #313E2D is a dark, grayish green.
In the RGB color model it is made of 19.2% red, 24.3% green and 17.6% blue (49, 62, 45).
Its hue angle is 106°, with 16% saturation and 21% lightness. For print, the CMYK equivalent is 21% cyan, 0% magenta, 27% yellow and 76% black.
The closest named color is Palm Leaf (#36482F), a difference of 4.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.31:1).
#313E2D color codes
| HEX | #313E2D | |
|---|---|---|
| RGB | rgb(49, 62, 45) | |
| RGB percent | rgb(19.2%, 24.3%, 17.6%) | |
| HSL | hsl(106, 16%, 21%) | |
| HSV / HSB | hsv(106, 27%, 24%) | |
| CMYK | cmyk(21%, 0%, 27%, 76%) | |
| CIE LAB | lab(24.6, -9.25, 8.75) | |
| CIE LCH | lch(24.6, 12.73, 136.58) | |
| CIE XYZ | xyz(3.463, 4.288, 3.127) | |
| Decimal | 3227181 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #313E2D, 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 #313E2D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.86:1 | Fail | Fail | Fail |
| Sample text | 11.31:1 | Pass | Pass | Pass |
| #313E2D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.31:1 | Pass | Pass | Pass |
| Sample text | 1.86: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 #313E2D looks to people with the most common types of color vision deficiency.
#3f3b2cProtanopia
no red cones#3d3a2eDeuteranopia
no green cones#313d39Tritanopia
no blue cones#3a3a3aAchromatopsia
no color vision
CSS examples
.background { background-color: #313e2d; }
.text { color: #313e2d; }
.border { border: 2px solid #313e2d; }
.transparent { background-color: rgb(49 62 45 / 50%); }
.gradient { background: linear-gradient(to right, #313e2d, #2d3e32); }
Similar colors
#36482fPalm Leaf#394c3bMountain View#3c463eDeep Forest#264334Everglade#424f3bHōjicha#334d41Pine Needle#2f441fForestry#444b43Ancient Pine
Closest common color name: Onyx.
Questions
- What color is #313E2D?
- #313E2D is a dark, grayish green, closest to the named color Palm Leaf. It belongs to the gray family of colors.
- What is the RGB value of #313E2D?
- The RGB value is 49, 62, 45: 49 red, 62 green and 45 blue on a 0 to 255 scale.
- What is the complementary color of #313E2D?
- The complementary color is #3A2D3E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #313E2D?
- White text. Black text has a contrast ratio of 1.86:1 and white text 11.31:1. WCAG asks for at least 4.5:1 for normal text.