#313B2B color
The hex color #313B2B is a dark, grayish green.
In the RGB color model it is made of 19.2% red, 23.1% green and 16.9% blue (49, 59, 43).
Its hue angle is 98°, with 16% saturation and 20% lightness. For print, the CMYK equivalent is 17% cyan, 0% magenta, 27% yellow and 77% black.
The closest named color is Deep Forest (#3C463E), a difference of 5.5 ΔE.
White text is the more readable choice on this background (contrast 11.72:1).
#313B2B color codes
| HEX | #313B2B | |
|---|---|---|
| RGB | rgb(49, 59, 43) | |
| RGB percent | rgb(19.2%, 23.1%, 16.9%) | |
| HSL | hsl(98, 16%, 20%) | |
| HSV / HSB | hsv(98, 27%, 23%) | |
| CMYK | cmyk(17%, 0%, 27%, 77%) | |
| CIE LAB | lab(23.52, -7.8, 8.58) | |
| CIE LCH | lch(23.52, 11.59, 132.26) | |
| CIE XYZ | xyz(3.267, 3.955, 2.876) | |
| Decimal | 3226411 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #313B2B, 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 #313B2B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.79:1 | Fail | Fail | Fail |
| Sample text | 11.72:1 | Pass | Pass | Pass |
| #313B2B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.72:1 | Pass | Pass | Pass |
| Sample text | 1.79: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 #313B2B looks to people with the most common types of color vision deficiency.
#3c392aProtanopia
no red cones#3b382cDeuteranopia
no green cones#313a37Tritanopia
no blue cones#383838Achromatopsia
no color vision
CSS examples
.background { background-color: #313b2b; }
.text { color: #313b2b; }
.border { border: 2px solid #313b2b; }
.transparent { background-color: rgb(49 59 43 / 50%); }
.gradient { background: linear-gradient(to right, #313b2b, #2b3b2d); }
Similar colors
#3c463eDeep Forest#36482fPalm Leaf#394c3bMountain View#2b322dTerminal Black#2b2e26Marshland#424f3bHōjicha#264334Everglade#353935Onyx
Questions
- What color is #313B2B?
- #313B2B 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 #313B2B?
- The RGB value is 49, 59, 43: 49 red, 59 green and 43 blue on a 0 to 255 scale.
- What is the complementary color of #313B2B?
- The complementary color is #352B3B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #313B2B?
- White text. Black text has a contrast ratio of 1.79:1 and white text 11.72:1. WCAG asks for at least 4.5:1 for normal text.