#1F2C16 color
The hex color #1F2C16 is a very dark, desaturated green.
In the RGB color model it is made of 12.2% red, 17.3% green and 8.6% blue (31, 44, 22).
Its hue angle is 95°, with 33% saturation and 13% lightness. For print, the CMYK equivalent is 30% cyan, 0% magenta, 50% yellow and 83% black.
The closest named color is Midnight Pines (#17240B), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.68:1).
#1F2C16 color codes
| HEX | #1F2C16 | |
|---|---|---|
| RGB | rgb(31, 44, 22) | |
| RGB percent | rgb(12.2%, 17.3%, 8.6%) | |
| HSL | hsl(95, 33%, 13%) | |
| HSV / HSB | hsv(95, 50%, 17%) | |
| CMYK | cmyk(30%, 0%, 50%, 83%) | |
| CIE LAB | lab(16.26, -10.62, 12.52) | |
| CIE LCH | lch(16.26, 16.42, 130.29) | |
| CIE XYZ | xyz(1.611, 2.151, 1.089) | |
| Decimal | 2042902 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F2C16, 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 #1F2C16 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.43:1 | Fail | Fail | Fail |
| Sample text | 14.68:1 | Pass | Pass | Pass |
| #1F2C16 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.68:1 | Pass | Pass | Pass |
| Sample text | 1.43: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 #1F2C16 looks to people with the most common types of color vision deficiency.
#2e2914Protanopia
no red cones#2c2817Deuteranopia
no green cones#1f2a27Tritanopia
no blue cones#282828Achromatopsia
no color vision
CSS examples
.background { background-color: #1f2c16; }
.text { color: #1f2c16; }
.border { border: 2px solid #1f2c16; }
.transparent { background-color: rgb(31 44 22 / 50%); }
.gradient { background: linear-gradient(to right, #1f2c16, #162c18); }
Similar colors
#17240bMidnight Pines#172808Lindworm Green#112211Nightmare#223311Darkest Forest#113311Dark Serpent#032e0eHaunted Forest#1e231cUnderworld#2f441fForestry
Closest common color name: Onyx.
Questions
- What color is #1F2C16?
- #1F2C16 is a very dark, desaturated green, closest to the named color Midnight Pines. It belongs to the green family of colors.
- What is the RGB value of #1F2C16?
- The RGB value is 31, 44, 22: 31 red, 44 green and 22 blue on a 0 to 255 scale.
- What is the complementary color of #1F2C16?
- The complementary color is #23162C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F2C16?
- White text. Black text has a contrast ratio of 1.43:1 and white text 14.68:1. WCAG asks for at least 4.5:1 for normal text.