#313427 color
The hex color #313427 is a very dark, grayish yellow-green.
In the RGB color model it is made of 19.2% red, 20.4% green and 15.3% blue (49, 52, 39).
Its hue angle is 74°, with 14% saturation and 18% lightness. For print, the CMYK equivalent is 6% cyan, 0% magenta, 25% yellow and 80% black.
The closest named color is Marshland (#2B2E26), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.72:1).
#313427 color codes
| HEX | #313427 | |
|---|---|---|
| RGB | rgb(49, 52, 39) | |
| RGB percent | rgb(19.2%, 20.4%, 15.3%) | |
| HSL | hsl(74, 14%, 18%) | |
| HSV / HSB | hsv(74, 25%, 20%) | |
| CMYK | cmyk(6%, 0%, 25%, 80%) | |
| CIE LAB | lab(21.04, -4.12, 7.81) | |
| CIE LCH | lch(21.04, 8.83, 117.81) | |
| CIE XYZ | xyz(2.861, 3.255, 2.397) | |
| Decimal | 3224615 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #313427, 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 #313427 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.65:1 | Fail | Fail | Fail |
| Sample text | 12.72:1 | Pass | Pass | Pass |
| #313427 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.72:1 | Pass | Pass | Pass |
| Sample text | 1.65: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 #313427 looks to people with the most common types of color vision deficiency.
#363326Protanopia
no red cones#353328Deuteranopia
no green cones#323330Tritanopia
no blue cones#333333Achromatopsia
no color vision
CSS examples
.background { background-color: #313427; }
.text { color: #313427; }
.border { border: 2px solid #313427; }
.transparent { background-color: rgb(49 52 39 / 50%); }
.gradient { background: linear-gradient(to right, #313427, #2b3427); }
Similar colors
#2b2e26Marshland#2b322dTerminal Black#3b3c36Black Olive#353935Onyx#313330Oil#1e231cUnderworld#262926Bitter Liquorice#393227Creole
Questions
- What color is #313427?
- #313427 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 #313427?
- The RGB value is 49, 52, 39: 49 red, 52 green and 39 blue on a 0 to 255 scale.
- What is the complementary color of #313427?
- The complementary color is #2A2734, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #313427?
- White text. Black text has a contrast ratio of 1.65:1 and white text 12.72:1. WCAG asks for at least 4.5:1 for normal text.