#313122 color
The hex color #313122 is a very dark, grayish yellow.
In the RGB color model it is made of 19.2% red, 19.2% green and 13.3% blue (49, 49, 34).
Its hue angle is 60°, with 18% saturation and 16% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 31% yellow and 81% black.
The closest named color is Marshland (#2B2E26), a difference of 3.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.18:1).
#313122 color codes
| HEX | #313122 | |
|---|---|---|
| RGB | rgb(49, 49, 34) | |
| RGB percent | rgb(19.2%, 19.2%, 13.3%) | |
| HSL | hsl(60, 18%, 16%) | |
| HSV / HSB | hsv(60, 31%, 19%) | |
| CMYK | cmyk(0%, 0%, 31%, 81%) | |
| CIE LAB | lab(19.9, -3.07, 9.62) | |
| CIE LCH | lch(19.9, 10.1, 107.72) | |
| CIE XYZ | xyz(2.654, 2.965, 1.946) | |
| Decimal | 3223842 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #313122, 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 #313122 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.59:1 | Fail | Fail | Fail |
| Sample text | 13.18:1 | Pass | Pass | Pass |
| #313122 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.18:1 | Pass | Pass | Pass |
| Sample text | 1.59: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 #313122 looks to people with the most common types of color vision deficiency.
#343021Protanopia
no red cones#343023Deuteranopia
no green cones#332f2dTritanopia
no blue cones#303030Achromatopsia
no color vision
CSS examples
.background { background-color: #313122; }
.text { color: #313122; }
.border { border: 2px solid #313122; }
.transparent { background-color: rgb(49 49 34 / 50%); }
.gradient { background: linear-gradient(to right, #313122, #293122); }
Similar colors
#2b2e26Marshland#393227Creole#3b3c36Black Olive#2b322dTerminal Black#313330Oil#1e231cUnderworld#353935Onyx#262926Bitter Liquorice
Questions
- What color is #313122?
- #313122 is a very dark, grayish yellow, closest to the named color Marshland. It belongs to the black family of colors.
- What is the RGB value of #313122?
- The RGB value is 49, 49, 34: 49 red, 49 green and 34 blue on a 0 to 255 scale.
- What is the complementary color of #313122?
- The complementary color is #222231, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #313122?
- White text. Black text has a contrast ratio of 1.59:1 and white text 13.18:1. WCAG asks for at least 4.5:1 for normal text.