#31470B color
The hex color #31470B is a very dark, moderate yellow-green.
In the RGB color model it is made of 19.2% red, 27.8% green and 4.3% blue (49, 71, 11).
Its hue angle is 82°, with 73% saturation and 16% lightness. For print, the CMYK equivalent is 31% cyan, 0% magenta, 85% yellow and 72% black.
The closest named color is Treetop Cathedral (#2F4A15), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.31:1).
#31470B color codes
| HEX | #31470B | |
|---|---|---|
| RGB | rgb(49, 71, 11) | |
| RGB percent | rgb(19.2%, 27.8%, 4.3%) | |
| HSL | hsl(82, 73%, 16%) | |
| HSV / HSB | hsv(82, 85%, 28%) | |
| CMYK | cmyk(31%, 0%, 85%, 72%) | |
| CIE LAB | lab(27.25, -18.82, 30.97) | |
| CIE LCH | lch(27.25, 36.24, 121.29) | |
| CIE XYZ | xyz(3.58, 5.184, 1.128) | |
| Decimal | 3229451 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #31470B, 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 #31470B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.04:1 | Fail | Fail | Fail |
| Sample text | 10.31:1 | Pass | Pass | Pass |
| #31470B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.31:1 | Pass | Pass | Pass |
| Sample text | 2.04: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 #31470B looks to people with the most common types of color vision deficiency.
#4b4101Protanopia
no red cones#484011Deuteranopia
no green cones#33433cTritanopia
no blue cones#404040Achromatopsia
no color vision
CSS examples
.background { background-color: #31470b; }
.text { color: #31470b; }
.border { border: 2px solid #31470b; }
.transparent { background-color: rgb(49 71 11 / 50%); }
.gradient { background: linear-gradient(to right, #31470b, #13470b); }
Similar colors
#2f4a15Treetop Cathedral#3c4d03Godzilla#373e02Dark Olive#2f441fForestry#335500Deep Forestial Escapade#404404Green Not Found#4b5320Army Green#114411Realm of the Underworld
Questions
- What color is #31470B?
- #31470B is a very dark, moderate yellow-green, closest to the named color Treetop Cathedral. It belongs to the green family of colors.
- What is the RGB value of #31470B?
- The RGB value is 49, 71, 11: 49 red, 71 green and 11 blue on a 0 to 255 scale.
- What is the complementary color of #31470B?
- The complementary color is #210B47, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #31470B?
- White text. Black text has a contrast ratio of 2.04:1 and white text 10.31:1. WCAG asks for at least 4.5:1 for normal text.