#313F33 color
The hex color #313F33 is a dark, grayish green.
In the RGB color model it is made of 19.2% red, 24.7% green and 20% blue (49, 63, 51).
Its hue angle is 129°, with 13% saturation and 22% lightness. For print, the CMYK equivalent is 22% cyan, 0% magenta, 19% yellow and 75% black.
The closest named color is Deep Forest (#3C463E), a difference of 3.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.11:1).
#313F33 color codes
| HEX | #313F33 | |
|---|---|---|
| RGB | rgb(49, 63, 51) | |
| RGB percent | rgb(19.2%, 24.7%, 20%) | |
| HSL | hsl(129, 13%, 22%) | |
| HSV / HSB | hsv(129, 22%, 25%) | |
| CMYK | cmyk(22%, 0%, 19%, 75%) | |
| CIE LAB | lab(25.1, -8.58, 5.51) | |
| CIE LCH | lch(25.1, 10.2, 147.3) | |
| CIE XYZ | xyz(3.642, 4.447, 3.798) | |
| Decimal | 3227443 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #313F33, 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 #313F33 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.89:1 | Fail | Fail | Fail |
| Sample text | 11.11:1 | Pass | Pass | Pass |
| #313F33 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.11:1 | Pass | Pass | Pass |
| Sample text | 1.89: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 #313F33 looks to people with the most common types of color vision deficiency.
#3f3c32Protanopia
no red cones#3d3b34Deuteranopia
no green cones#2f3e3cTritanopia
no blue cones#3c3c3cAchromatopsia
no color vision
CSS examples
.background { background-color: #313f33; }
.text { color: #313f33; }
.border { border: 2px solid #313f33; }
.transparent { background-color: rgb(49 63 51 / 50%); }
.gradient { background: linear-gradient(to right, #313f33, #313f3a); }
Similar colors
#3c463eDeep Forest#394c3bMountain View#264334Everglade#334d41Pine Needle#36482fPalm Leaf#444b43Ancient Pine#424f3bHōjicha#2b322dTerminal Black
Closest common color name: Onyx.
Questions
- What color is #313F33?
- #313F33 is a dark, grayish green, closest to the named color Deep Forest. It belongs to the gray family of colors.
- What is the RGB value of #313F33?
- The RGB value is 49, 63, 51: 49 red, 63 green and 51 blue on a 0 to 255 scale.
- What is the complementary color of #313F33?
- The complementary color is #3F313D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #313F33?
- White text. Black text has a contrast ratio of 1.89:1 and white text 11.11:1. WCAG asks for at least 4.5:1 for normal text.