#1F291E color
The hex color #1F291E is a very dark, grayish green.
In the RGB color model it is made of 12.2% red, 16.1% green and 11.8% blue (31, 41, 30).
Its hue angle is 115°, with 15% saturation and 14% lightness. For print, the CMYK equivalent is 24% cyan, 0% magenta, 27% yellow and 84% black.
The closest named color is Underworld (#1E231C), a difference of 3.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.06:1).
#1F291E color codes
| HEX | #1F291E | |
|---|---|---|
| RGB | rgb(31, 41, 30) | |
| RGB percent | rgb(12.2%, 16.1%, 11.8%) | |
| HSL | hsl(115, 15%, 14%) | |
| HSV / HSB | hsv(115, 27%, 16%) | |
| CMYK | cmyk(24%, 0%, 27%, 84%) | |
| CIE LAB | lab(15.33, -7.12, 5.82) | |
| CIE LCH | lch(15.33, 9.2, 140.75) | |
| CIE XYZ | xyz(1.592, 1.971, 1.525) | |
| Decimal | 2042142 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F291E, 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 #1F291E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.39:1 | Fail | Fail | Fail |
| Sample text | 15.06:1 | Pass | Pass | Pass |
| #1F291E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.06:1 | Pass | Pass | Pass |
| Sample text | 1.39: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 #1F291E looks to people with the most common types of color vision deficiency.
#2a271dProtanopia
no red cones#28261fDeuteranopia
no green cones#1e2826Tritanopia
no blue cones#262626Achromatopsia
no color vision
CSS examples
.background { background-color: #1f291e; }
.text { color: #1f291e; }
.border { border: 2px solid #1f291e; }
.transparent { background-color: rgb(31 41 30 / 50%); }
.gradient { background: linear-gradient(to right, #1f291e, #1e2923); }
Similar colors
#1e231cUnderworld#2b2e26Marshland#112211Nightmare#2b322dTerminal Black#162825Swamp Thing#17240bMidnight Pines#293432Aztec#262926Bitter Liquorice
Closest common color name: Onyx.
Questions
- What color is #1F291E?
- #1F291E is a very dark, grayish green, closest to the named color Underworld. It belongs to the black family of colors.
- What is the RGB value of #1F291E?
- The RGB value is 31, 41, 30: 31 red, 41 green and 30 blue on a 0 to 255 scale.
- What is the complementary color of #1F291E?
- The complementary color is #281E29, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F291E?
- White text. Black text has a contrast ratio of 1.39:1 and white text 15.06:1. WCAG asks for at least 4.5:1 for normal text.