#31371F color
The hex color #31371F is a very dark, desaturated yellow-green.
In the RGB color model it is made of 19.2% red, 21.6% green and 12.2% blue (49, 55, 31).
Its hue angle is 75°, with 28% saturation and 17% lightness. For print, the CMYK equivalent is 11% cyan, 0% magenta, 44% yellow and 78% black.
The closest named color is Darkest Forest (#223311), a difference of 5.7 ΔE.
White text is the more readable choice on this background (contrast 12.38:1).
#31371F color codes
| HEX | #31371F | |
|---|---|---|
| RGB | rgb(49, 55, 31) | |
| RGB percent | rgb(19.2%, 21.6%, 12.2%) | |
| HSL | hsl(75, 28%, 17%) | |
| HSV / HSB | hsv(75, 44%, 22%) | |
| CMYK | cmyk(11%, 0%, 44%, 78%) | |
| CIE LAB | lab(21.89, -7.43, 14.22) | |
| CIE LCH | lch(21.89, 16.04, 117.58) | |
| CIE XYZ | xyz(2.88, 3.484, 1.817) | |
| Decimal | 3225375 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #31371F, 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 #31371F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.7:1 | Fail | Fail | Fail |
| Sample text | 12.38:1 | Pass | Pass | Pass |
| #31371F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.38:1 | Pass | Pass | Pass |
| Sample text | 1.7: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 #31371F looks to people with the most common types of color vision deficiency.
#3a341dProtanopia
no red cones#393420Deuteranopia
no green cones#333531Tritanopia
no blue cones#343434Achromatopsia
no color vision
CSS examples
.background { background-color: #31371f; }
.text { color: #31371f; }
.border { border: 2px solid #31371f; }
.transparent { background-color: rgb(49 55 31 / 50%); }
.gradient { background: linear-gradient(to right, #31371f, #25371f); }
Similar colors
#223311Darkest Forest#36482fPalm Leaf#2f441fForestry#17240bMidnight Pines#172808Lindworm Green#2b2e26Marshland#333300Wasabi Nori#424f3bHōjicha
Closest common color name: Onyx.
Questions
- What color is #31371F?
- #31371F is a very dark, desaturated yellow-green, closest to the named color Darkest Forest. It belongs to the green family of colors.
- What is the RGB value of #31371F?
- The RGB value is 49, 55, 31: 49 red, 55 green and 31 blue on a 0 to 255 scale.
- What is the complementary color of #31371F?
- The complementary color is #251F37, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #31371F?
- White text. Black text has a contrast ratio of 1.7:1 and white text 12.38:1. WCAG asks for at least 4.5:1 for normal text.