#313928 color
The hex color #313928 is a very dark, grayish yellow-green.
In the RGB color model it is made of 19.2% red, 22.4% green and 15.7% blue (49, 57, 40).
Its hue angle is 88°, with 18% saturation and 19% lightness. For print, the CMYK equivalent is 14% cyan, 0% magenta, 30% yellow and 78% black.
The closest named color is Marshland (#2B2E26), a difference of 6 ΔE.
White text is the more readable choice on this background (contrast 12.02:1).
#313928 color codes
| HEX | #313928 | |
|---|---|---|
| RGB | rgb(49, 57, 40) | |
| RGB percent | rgb(19.2%, 22.4%, 15.7%) | |
| HSL | hsl(88, 18%, 19%) | |
| HSV / HSB | hsv(88, 30%, 22%) | |
| CMYK | cmyk(14%, 0%, 30%, 78%) | |
| CIE LAB | lab(22.77, -7.13, 9.52) | |
| CIE LCH | lch(22.77, 11.89, 126.83) | |
| CIE XYZ | xyz(3.113, 3.732, 2.564) | |
| Decimal | 3225896 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #313928, 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 #313928 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.75:1 | Fail | Fail | Fail |
| Sample text | 12.02:1 | Pass | Pass | Pass |
| #313928 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.02:1 | Pass | Pass | Pass |
| Sample text | 1.75: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 #313928 looks to people with the most common types of color vision deficiency.
#3b3727Protanopia
no red cones#3a3629Deuteranopia
no green cones#323734Tritanopia
no blue cones#363636Achromatopsia
no color vision
CSS examples
.background { background-color: #313928; }
.text { color: #313928; }
.border { border: 2px solid #313928; }
.transparent { background-color: rgb(49 57 40 / 50%); }
.gradient { background: linear-gradient(to right, #313928, #283928); }
Similar colors
#2b2e26Marshland#3c463eDeep Forest#2b322dTerminal Black#36482fPalm Leaf#394c3bMountain View#353935Onyx#424f3bHōjicha#3b3c36Black Olive
Questions
- What color is #313928?
- #313928 is a very dark, grayish yellow-green, closest to the named color Marshland. It belongs to the gray family of colors.
- What is the RGB value of #313928?
- The RGB value is 49, 57, 40: 49 red, 57 green and 40 blue on a 0 to 255 scale.
- What is the complementary color of #313928?
- The complementary color is #302839, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #313928?
- White text. Black text has a contrast ratio of 1.75:1 and white text 12.02:1. WCAG asks for at least 4.5:1 for normal text.