#1F2D0F color
The hex color #1F2D0F is a very dark, desaturated yellow-green.
In the RGB color model it is made of 12.2% red, 17.6% green and 5.9% blue (31, 45, 15).
Its hue angle is 88°, with 50% saturation and 12% lightness. For print, the CMYK equivalent is 31% cyan, 0% magenta, 67% yellow and 82% black.
The closest named color is Lindworm Green (#172808), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.58:1).
#1F2D0F color codes
| HEX | #1F2D0F | |
|---|---|---|
| RGB | rgb(31, 45, 15) | |
| RGB percent | rgb(12.2%, 17.6%, 5.9%) | |
| HSL | hsl(88, 50%, 12%) | |
| HSV / HSB | hsv(88, 67%, 18%) | |
| CMYK | cmyk(31%, 0%, 67%, 82%) | |
| CIE LAB | lab(16.52, -12.29, 17.13) | |
| CIE LCH | lch(16.52, 21.08, 125.65) | |
| CIE XYZ | xyz(1.59, 2.203, 0.793) | |
| Decimal | 2043151 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F2D0F, 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 #1F2D0F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.44:1 | Fail | Fail | Fail |
| Sample text | 14.58:1 | Pass | Pass | Pass |
| #1F2D0F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.58:1 | Pass | Pass | Pass |
| Sample text | 1.44: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 #1F2D0F looks to people with the most common types of color vision deficiency.
#2f2a0cProtanopia
no red cones#2d2911Deuteranopia
no green cones#202b26Tritanopia
no blue cones#292929Achromatopsia
no color vision
CSS examples
.background { background-color: #1f2d0f; }
.text { color: #1f2d0f; }
.border { border: 2px solid #1f2d0f; }
.transparent { background-color: rgb(31 45 15 / 50%); }
.gradient { background: linear-gradient(to right, #1f2d0f, #102d0f); }
Similar colors
#172808Lindworm Green#223311Darkest Forest#17240bMidnight Pines#113311Dark Serpent#112211Nightmare#032e0eHaunted Forest#12390dMelancholia#2f441fForestry
Closest common color name: British Racing Green.
Questions
- What color is #1F2D0F?
- #1F2D0F is a very dark, desaturated yellow-green, closest to the named color Lindworm Green. It belongs to the green family of colors.
- What is the RGB value of #1F2D0F?
- The RGB value is 31, 45, 15: 31 red, 45 green and 15 blue on a 0 to 255 scale.
- What is the complementary color of #1F2D0F?
- The complementary color is #1D0F2D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F2D0F?
- White text. Black text has a contrast ratio of 1.44:1 and white text 14.58:1. WCAG asks for at least 4.5:1 for normal text.