#1F2710 color
The hex color #1F2710 is a very dark, desaturated yellow-green.
In the RGB color model it is made of 12.2% red, 15.3% green and 6.3% blue (31, 39, 16).
Its hue angle is 81°, with 42% saturation and 11% lightness. For print, the CMYK equivalent is 21% cyan, 0% magenta, 59% yellow and 85% black.
The closest named color is Midnight Pines (#17240B), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.49:1).
#1F2710 color codes
| HEX | #1F2710 | |
|---|---|---|
| RGB | rgb(31, 39, 16) | |
| RGB percent | rgb(12.2%, 15.3%, 6.3%) | |
| HSL | hsl(81, 42%, 11%) | |
| HSV / HSB | hsv(81, 59%, 15%) | |
| CMYK | cmyk(21%, 0%, 59%, 85%) | |
| CIE LAB | lab(14.29, -8.44, 13.75) | |
| CIE LCH | lch(14.29, 16.14, 121.55) | |
| CIE XYZ | xyz(1.384, 1.78, 0.761) | |
| Decimal | 2041616 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F2710, 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 #1F2710 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.36:1 | Fail | Fail | Fail |
| Sample text | 15.49:1 | Pass | Pass | Pass |
| #1F2710 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.49:1 | Pass | Pass | Pass |
| Sample text | 1.36: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 #1F2710 looks to people with the most common types of color vision deficiency.
#29240eProtanopia
no red cones#282411Deuteranopia
no green cones#202522Tritanopia
no blue cones#242424Achromatopsia
no color vision
CSS examples
.background { background-color: #1f2710; }
.text { color: #1f2710; }
.border { border: 2px solid #1f2710; }
.transparent { background-color: rgb(31 39 16 / 50%); }
.gradient { background: linear-gradient(to right, #1f2710, #132710); }
Similar colors
#17240bMidnight Pines#172808Lindworm Green#112211Nightmare#223311Darkest Forest#1e231cUnderworld#2b2e26Marshland#091101Memorial Black#113311Dark Serpent
Closest common color name: Onyx.
Questions
- What color is #1F2710?
- #1F2710 is a very dark, desaturated yellow-green, closest to the named color Midnight Pines. It belongs to the green family of colors.
- What is the RGB value of #1F2710?
- The RGB value is 31, 39, 16: 31 red, 39 green and 16 blue on a 0 to 255 scale.
- What is the complementary color of #1F2710?
- The complementary color is #181027, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F2710?
- White text. Black text has a contrast ratio of 1.36:1 and white text 15.49:1. WCAG asks for at least 4.5:1 for normal text.