#31382A color
The hex color #31382A is a very dark, grayish yellow-green.
In the RGB color model it is made of 19.2% red, 22% green and 16.5% blue (49, 56, 42).
Its hue angle is 90°, with 14% saturation and 19% lightness. For print, the CMYK equivalent is 13% cyan, 0% magenta, 25% yellow and 78% black.
The closest named color is Marshland (#2B2E26), a difference of 4.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.14:1).
#31382A color codes
| HEX | #31382A | |
|---|---|---|
| RGB | rgb(49, 56, 42) | |
| RGB percent | rgb(19.2%, 22%, 16.5%) | |
| HSL | hsl(90, 14%, 19%) | |
| HSV / HSB | hsv(90, 25%, 22%) | |
| CMYK | cmyk(13%, 0%, 25%, 78%) | |
| CIE LAB | lab(22.47, -6.11, 7.79) | |
| CIE LCH | lch(22.47, 9.9, 128.09) | |
| CIE XYZ | xyz(3.099, 3.648, 2.731) | |
| Decimal | 3225642 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #31382A, 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 #31382A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.73:1 | Fail | Fail | Fail |
| Sample text | 12.14:1 | Pass | Pass | Pass |
| #31382A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.14:1 | Pass | Pass | Pass |
| Sample text | 1.73: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 #31382A looks to people with the most common types of color vision deficiency.
#393629Protanopia
no red cones#38362bDeuteranopia
no green cones#323734Tritanopia
no blue cones#363636Achromatopsia
no color vision
CSS examples
.background { background-color: #31382a; }
.text { color: #31382a; }
.border { border: 2px solid #31382a; }
.transparent { background-color: rgb(49 56 42 / 50%); }
.gradient { background: linear-gradient(to right, #31382a, #2a382a); }
Similar colors
#2b2e26Marshland#2b322dTerminal Black#3c463eDeep Forest#353935Onyx#3b3c36Black Olive#293432Aztec#313330Oil#46473eHeavy Metal
Questions
- What color is #31382A?
- #31382A 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 #31382A?
- The RGB value is 49, 56, 42: 49 red, 56 green and 42 blue on a 0 to 255 scale.
- What is the complementary color of #31382A?
- The complementary color is #312A38, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #31382A?
- White text. Black text has a contrast ratio of 1.73:1 and white text 12.14:1. WCAG asks for at least 4.5:1 for normal text.