#2F301F color
The hex color #2F301F is a very dark, grayish yellow.
In the RGB color model it is made of 18.4% red, 18.8% green and 12.2% blue (47, 48, 31).
Its hue angle is 64°, with 22% saturation and 15% lightness. For print, the CMYK equivalent is 2% cyan, 0% magenta, 35% yellow and 81% black.
The closest named color is Marshland (#2B2E26), a difference of 4.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.43:1).
#2F301F color codes
| HEX | #2F301F | |
|---|---|---|
| RGB | rgb(47, 48, 31) | |
| RGB percent | rgb(18.4%, 18.8%, 12.2%) | |
| HSL | hsl(64, 22%, 15%) | |
| HSV / HSB | hsv(64, 35%, 19%) | |
| CMYK | cmyk(2%, 0%, 35%, 81%) | |
| CIE LAB | lab(19.3, -3.91, 10.78) | |
| CIE LCH | lch(19.3, 11.46, 109.93) | |
| CIE XYZ | xyz(2.477, 2.817, 1.709) | |
| Decimal | 3092511 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2F301F, 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 #2F301F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.56:1 | Fail | Fail | Fail |
| Sample text | 13.43:1 | Pass | Pass | Pass |
| #2F301F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.43:1 | Pass | Pass | Pass |
| Sample text | 1.56: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 #2F301F looks to people with the most common types of color vision deficiency.
#332e1eProtanopia
no red cones#332f20Deuteranopia
no green cones#312e2cTritanopia
no blue cones#2f2f2fAchromatopsia
no color vision
CSS examples
.background { background-color: #2f301f; }
.text { color: #2f301f; }
.border { border: 2px solid #2f301f; }
.transparent { background-color: rgb(47 48 31 / 50%); }
.gradient { background: linear-gradient(to right, #2f301f, #27301f); }
Similar colors
#2b2e26Marshland#1e231cUnderworld#393227Creole#2b322dTerminal Black#3b3c36Black Olive#353935Onyx#313330Oil#262926Bitter Liquorice
Questions
- What color is #2F301F?
- #2F301F is a very dark, grayish yellow, closest to the named color Marshland. It belongs to the black family of colors.
- What is the RGB value of #2F301F?
- The RGB value is 47, 48, 31: 47 red, 48 green and 31 blue on a 0 to 255 scale.
- What is the complementary color of #2F301F?
- The complementary color is #201F30, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2F301F?
- White text. Black text has a contrast ratio of 1.56:1 and white text 13.43:1. WCAG asks for at least 4.5:1 for normal text.