#31351B color
The hex color #31351B is a very dark, desaturated yellow.
In the RGB color model it is made of 19.2% red, 20.8% green and 10.6% blue (49, 53, 27).
Its hue angle is 69°, with 33% saturation and 16% lightness. For print, the CMYK equivalent is 8% cyan, 0% magenta, 49% yellow and 79% black.
The closest named color is Darkest Forest (#223311), a difference of 5.9 ΔE.
White text is the more readable choice on this background (contrast 12.68:1).
#31351B color codes
| HEX | #31351B | |
|---|---|---|
| RGB | rgb(49, 53, 27) | |
| RGB percent | rgb(19.2%, 20.8%, 10.6%) | |
| HSL | hsl(69, 33%, 16%) | |
| HSV / HSB | hsv(69, 49%, 21%) | |
| CMYK | cmyk(8%, 0%, 49%, 79%) | |
| CIE LAB | lab(21.13, -6.76, 15.8) | |
| CIE LCH | lch(21.13, 17.18, 113.16) | |
| CIE XYZ | xyz(2.738, 3.278, 1.525) | |
| Decimal | 3224859 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #31351B, 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 #31351B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.66:1 | Fail | Fail | Fail |
| Sample text | 12.68:1 | Pass | Pass | Pass |
| #31351B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.68:1 | Pass | Pass | Pass |
| Sample text | 1.66: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 #31351B looks to people with the most common types of color vision deficiency.
#383319Protanopia
no red cones#38331cDeuteranopia
no green cones#34322fTritanopia
no blue cones#333333Achromatopsia
no color vision
CSS examples
.background { background-color: #31351b; }
.text { color: #31351b; }
.border { border: 2px solid #31351b; }
.transparent { background-color: rgb(49 53 27 / 50%); }
.gradient { background: linear-gradient(to right, #31351b, #24351b); }
Similar colors
#223311Darkest Forest#333300Wasabi Nori#17240bMidnight Pines#172808Lindworm Green#2f441fForestry#36482fPalm Leaf#2b2e26Marshland#473e23Madras
Closest common color name: Onyx.
Questions
- What color is #31351B?
- #31351B is a very dark, desaturated yellow, closest to the named color Darkest Forest. It belongs to the green family of colors.
- What is the RGB value of #31351B?
- The RGB value is 49, 53, 27: 49 red, 53 green and 27 blue on a 0 to 255 scale.
- What is the complementary color of #31351B?
- The complementary color is #1F1B35, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #31351B?
- White text. Black text has a contrast ratio of 1.66:1 and white text 12.68:1. WCAG asks for at least 4.5:1 for normal text.