#313B22 color
The hex color #313B22 is a very dark, desaturated yellow-green.
In the RGB color model it is made of 19.2% red, 23.1% green and 13.3% blue (49, 59, 34).
Its hue angle is 84°, with 27% saturation and 18% lightness. For print, the CMYK equivalent is 17% cyan, 0% magenta, 42% yellow and 77% black.
The closest named color is Palm Leaf (#36482F), a difference of 4.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.8:1).
#313B22 color codes
| HEX | #313B22 | |
|---|---|---|
| RGB | rgb(49, 59, 34) | |
| RGB percent | rgb(19.2%, 23.1%, 13.3%) | |
| HSL | hsl(84, 27%, 18%) | |
| HSV / HSB | hsv(84, 42%, 23%) | |
| CMYK | cmyk(17%, 0%, 42%, 77%) | |
| CIE LAB | lab(23.33, -9.43, 14.16) | |
| CIE LCH | lch(23.33, 17.01, 123.65) | |
| CIE XYZ | xyz(3.119, 3.896, 2.101) | |
| Decimal | 3226402 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #313B22, 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 #313B22 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.78:1 | Fail | Fail | Fail |
| Sample text | 11.8:1 | Pass | Pass | Pass |
| #313B22 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.8:1 | Pass | Pass | Pass |
| Sample text | 1.78: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 #313B22 looks to people with the most common types of color vision deficiency.
#3e3820Protanopia
no red cones#3c3723Deuteranopia
no green cones#323935Tritanopia
no blue cones#383838Achromatopsia
no color vision
CSS examples
.background { background-color: #313b22; }
.text { color: #313b22; }
.border { border: 2px solid #313b22; }
.transparent { background-color: rgb(49 59 34 / 50%); }
.gradient { background: linear-gradient(to right, #313b22, #253b22); }
Similar colors
#36482fPalm Leaf#223311Darkest Forest#2f441fForestry#424f3bHōjicha#394c3bMountain View#172808Lindworm Green#21421eMyrtle#17240bMidnight Pines
Closest common color name: Onyx.
Questions
- What color is #313B22?
- #313B22 is a very dark, desaturated yellow-green, closest to the named color Palm Leaf. It belongs to the green family of colors.
- What is the RGB value of #313B22?
- The RGB value is 49, 59, 34: 49 red, 59 green and 34 blue on a 0 to 255 scale.
- What is the complementary color of #313B22?
- The complementary color is #2C223B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #313B22?
- White text. Black text has a contrast ratio of 1.78:1 and white text 11.8:1. WCAG asks for at least 4.5:1 for normal text.