#1F2D19 color
The hex color #1F2D19 is a very dark, desaturated green.
In the RGB color model it is made of 12.2% red, 17.6% green and 9.8% blue (31, 45, 25).
Its hue angle is 102°, with 29% saturation and 14% lightness. For print, the CMYK equivalent is 31% cyan, 0% magenta, 44% yellow and 82% black.
The closest named color is Midnight Pines (#17240B), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.51:1).
#1F2D19 color codes
| HEX | #1F2D19 | |
|---|---|---|
| RGB | rgb(31, 45, 25) | |
| RGB percent | rgb(12.2%, 17.6%, 9.8%) | |
| HSL | hsl(102, 29%, 14%) | |
| HSV / HSB | hsv(102, 44%, 18%) | |
| CMYK | cmyk(31%, 0%, 44%, 82%) | |
| CIE LAB | lab(16.69, -10.69, 11.09) | |
| CIE LCH | lch(16.69, 15.4, 133.96) | |
| CIE XYZ | xyz(1.679, 2.238, 1.263) | |
| Decimal | 2043161 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F2D19, 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 #1F2D19 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.45:1 | Fail | Fail | Fail |
| Sample text | 14.51:1 | Pass | Pass | Pass |
| #1F2D19 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.51:1 | Pass | Pass | Pass |
| Sample text | 1.45: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 #1F2D19 looks to people with the most common types of color vision deficiency.
#2e2a18Protanopia
no red cones#2c291aDeuteranopia
no green cones#1f2c28Tritanopia
no blue cones#292929Achromatopsia
no color vision
CSS examples
.background { background-color: #1f2d19; }
.text { color: #1f2d19; }
.border { border: 2px solid #1f2d19; }
.transparent { background-color: rgb(31 45 25 / 50%); }
.gradient { background: linear-gradient(to right, #1f2d19, #192d1d); }
Similar colors
#17240bMidnight Pines#112211Nightmare#172808Lindworm Green#223311Darkest Forest#113311Dark Serpent#032e0eHaunted Forest#1e231cUnderworld#2b2e26Marshland
Closest common color name: Onyx.
Questions
- What color is #1F2D19?
- #1F2D19 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 #1F2D19?
- The RGB value is 31, 45, 25: 31 red, 45 green and 25 blue on a 0 to 255 scale.
- What is the complementary color of #1F2D19?
- The complementary color is #27192D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F2D19?
- White text. Black text has a contrast ratio of 1.45:1 and white text 14.51:1. WCAG asks for at least 4.5:1 for normal text.