#313E2E color
The hex color #313E2E is a dark, grayish green.
In the RGB color model it is made of 19.2% red, 24.3% green and 18% blue (49, 62, 46).
Its hue angle is 109°, with 15% saturation and 21% lightness. For print, the CMYK equivalent is 21% cyan, 0% magenta, 26% yellow and 76% black.
The closest named color is Palm Leaf (#36482F), a difference of 4.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.3:1).
#313E2E color codes
| HEX | #313E2E | |
|---|---|---|
| RGB | rgb(49, 62, 46) | |
| RGB percent | rgb(19.2%, 24.3%, 18%) | |
| HSL | hsl(109, 15%, 21%) | |
| HSV / HSB | hsv(109, 26%, 24%) | |
| CMYK | cmyk(21%, 0%, 26%, 76%) | |
| CIE LAB | lab(24.62, -9.04, 8.13) | |
| CIE LCH | lch(24.62, 12.16, 138.04) | |
| CIE XYZ | xyz(3.482, 4.295, 3.23) | |
| Decimal | 3227182 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #313E2E, 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 #313E2E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.86:1 | Fail | Fail | Fail |
| Sample text | 11.3:1 | Pass | Pass | Pass |
| #313E2E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.3: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 #313E2E looks to people with the most common types of color vision deficiency.
#3f3b2dProtanopia
no red cones#3d3a2fDeuteranopia
no green cones#303d3aTritanopia
no blue cones#3a3a3aAchromatopsia
no color vision
CSS examples
.background { background-color: #313e2e; }
.text { color: #313e2e; }
.border { border: 2px solid #313e2e; }
.transparent { background-color: rgb(49 62 46 / 50%); }
.gradient { background: linear-gradient(to right, #313e2e, #2e3e33); }
Similar colors
#36482fPalm Leaf#394c3bMountain View#3c463eDeep Forest#264334Everglade#424f3bHōjicha#334d41Pine Needle#444b43Ancient Pine#2b322dTerminal Black
Closest common color name: Onyx.
Questions
- What color is #313E2E?
- #313E2E 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 #313E2E?
- The RGB value is 49, 62, 46: 49 red, 62 green and 46 blue on a 0 to 255 scale.
- What is the complementary color of #313E2E?
- The complementary color is #3B2E3E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #313E2E?
- White text. Black text has a contrast ratio of 1.86:1 and white text 11.3:1. WCAG asks for at least 4.5:1 for normal text.