#312D1E color
The hex color #312D1E is a very dark, grayish yellow.
In the RGB color model it is made of 19.2% red, 17.6% green and 11.8% blue (49, 45, 30).
Its hue angle is 47°, with 24% saturation and 15% lightness. For print, the CMYK equivalent is 0% cyan, 8% magenta, 39% yellow and 81% black.
The closest named color is Creole (#393227), a difference of 3.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.77:1).
#312D1E color codes
| HEX | #312D1E | |
|---|---|---|
| RGB | rgb(49, 45, 30) | |
| RGB percent | rgb(19.2%, 17.6%, 11.8%) | |
| HSL | hsl(47, 24%, 15%) | |
| HSV / HSB | hsv(47, 39%, 19%) | |
| CMYK | cmyk(0%, 8%, 39%, 81%) | |
| CIE LAB | lab(18.47, -1.08, 10.38) | |
| CIE LCH | lch(18.47, 10.44, 95.97) | |
| CIE XYZ | xyz(2.439, 2.624, 1.606) | |
| Decimal | 3222814 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #312D1E, 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 #312D1E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.52:1 | Fail | Fail | Fail |
| Sample text | 13.77:1 | Pass | Pass | Pass |
| #312D1E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.77:1 | Pass | Pass | Pass |
| Sample text | 1.52: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 #312D1E looks to people with the most common types of color vision deficiency.
#302c1dProtanopia
no red cones#312e1fDeuteranopia
no green cones#342b29Tritanopia
no blue cones#2d2d2dAchromatopsia
no color vision
CSS examples
.background { background-color: #312d1e; }
.text { color: #312d1e; }
.border { border: 2px solid #312d1e; }
.transparent { background-color: rgb(49 45 30 / 50%); }
.gradient { background: linear-gradient(to right, #312d1e, #2c311e); }
Similar colors
#393227Creole#2b2e26Marshland#3c2f23Cola#312b27Noir#332f2cHoly Crow#1f180aNoir Mystique#3b3c36Black Olive#313330Oil
Closest common color name: Onyx.
Questions
- What color is #312D1E?
- #312D1E is a very dark, grayish yellow, closest to the named color Creole. It belongs to the black family of colors.
- What is the RGB value of #312D1E?
- The RGB value is 49, 45, 30: 49 red, 45 green and 30 blue on a 0 to 255 scale.
- What is the complementary color of #312D1E?
- The complementary color is #1E2231, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #312D1E?
- White text. Black text has a contrast ratio of 1.52:1 and white text 13.77:1. WCAG asks for at least 4.5:1 for normal text.