#313F2D color
The hex color #313F2D is a dark, grayish green.
In the RGB color model it is made of 19.2% red, 24.7% green and 17.6% blue (49, 63, 45).
Its hue angle is 107°, with 17% saturation and 21% lightness. For print, the CMYK equivalent is 22% cyan, 0% magenta, 29% yellow and 75% black.
The closest named color is Palm Leaf (#36482F), a difference of 3.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.17:1).
#313F2D color codes
| HEX | #313F2D | |
|---|---|---|
| RGB | rgb(49, 63, 45) | |
| RGB percent | rgb(19.2%, 24.7%, 17.6%) | |
| HSL | hsl(107, 17%, 21%) | |
| HSV / HSB | hsv(107, 29%, 25%) | |
| CMYK | cmyk(22%, 0%, 29%, 75%) | |
| CIE LAB | lab(24.94, -9.86, 9.22) | |
| CIE LCH | lch(24.94, 13.5, 136.9) | |
| CIE XYZ | xyz(3.518, 4.397, 3.146) | |
| Decimal | 3227437 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #313F2D, 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 #313F2D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.88:1 | Fail | Fail | Fail |
| Sample text | 11.17:1 | Pass | Pass | Pass |
| #313F2D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.17:1 | Pass | Pass | Pass |
| Sample text | 1.88: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 #313F2D looks to people with the most common types of color vision deficiency.
#403c2cProtanopia
no red cones#3e3b2eDeuteranopia
no green cones#303e3aTritanopia
no blue cones#3b3b3bAchromatopsia
no color vision
CSS examples
.background { background-color: #313f2d; }
.text { color: #313f2d; }
.border { border: 2px solid #313f2d; }
.transparent { background-color: rgb(49 63 45 / 50%); }
.gradient { background: linear-gradient(to right, #313f2d, #2d3f32); }
Similar colors
#36482fPalm Leaf#394c3bMountain View#264334Everglade#424f3bHōjicha#3c463eDeep Forest#334d41Pine Needle#2f441fForestry#3a533dHighlander
Closest common color name: Onyx.
Questions
- What color is #313F2D?
- #313F2D is a dark, grayish green, closest to the named color Palm Leaf. It belongs to the green family of colors.
- What is the RGB value of #313F2D?
- The RGB value is 49, 63, 45: 49 red, 63 green and 45 blue on a 0 to 255 scale.
- What is the complementary color of #313F2D?
- The complementary color is #3B2D3F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #313F2D?
- White text. Black text has a contrast ratio of 1.88:1 and white text 11.17:1. WCAG asks for at least 4.5:1 for normal text.