#0F1F16 color
The hex color #0F1F16 is a very dark, desaturated green.
In the RGB color model it is made of 5.9% red, 12.2% green and 8.6% blue (15, 31, 22).
Its hue angle is 146°, with 35% saturation and 9% lightness. For print, the CMYK equivalent is 52% cyan, 0% magenta, 29% yellow and 88% black.
The closest named color is Nightmare (#112211), a difference of 3.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.1:1).
#0F1F16 color codes
| HEX | #0F1F16 | |
|---|---|---|
| RGB | rgb(15, 31, 22) | |
| RGB percent | rgb(5.9%, 12.2%, 8.6%) | |
| HSL | hsl(146, 35%, 9%) | |
| HSV / HSB | hsv(146, 52%, 12%) | |
| CMYK | cmyk(52%, 0%, 29%, 88%) | |
| CIE LAB | lab(10.1, -9.47, 4.04) | |
| CIE LCH | lch(10.1, 10.3, 156.88) | |
| CIE XYZ | xyz(0.832, 1.139, 0.935) | |
| Decimal | 990998 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0F1F16, 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 #0F1F16 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.23:1 | Fail | Fail | Fail |
| Sample text | 17.1:1 | Pass | Pass | Pass |
| #0F1F16 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.1:1 | Pass | Pass | Pass |
| Sample text | 1.23: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 #0F1F16 looks to people with the most common types of color vision deficiency.
#1f1d16Protanopia
no red cones#1c1b17Deuteranopia
no green cones#0c1f1cTritanopia
no blue cones#1c1c1cAchromatopsia
no color vision
CSS examples
.background { background-color: #0f1f16; }
.text { color: #0f1f16; }
.border { border: 2px solid #0f1f16; }
.transparent { background-color: rgb(15 31 22 / 50%); }
.gradient { background: linear-gradient(to right, #0f1f16, #0f1f1e); }
Similar colors
#112211Nightmare#162825Swamp Thing#001000Cosmic Bit Flip#041108Jedi Night#020f03Blackn’t#1e231cUnderworld#091101Memorial Black#17240bMidnight Pines
Closest common color name: Onyx.
Questions
- What color is #0F1F16?
- #0F1F16 is a very dark, desaturated green, closest to the named color Nightmare. It belongs to the black family of colors.
- What is the RGB value of #0F1F16?
- The RGB value is 15, 31, 22: 15 red, 31 green and 22 blue on a 0 to 255 scale.
- What is the complementary color of #0F1F16?
- The complementary color is #1F0F18, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0F1F16?
- White text. Black text has a contrast ratio of 1.23:1 and white text 17.1:1. WCAG asks for at least 4.5:1 for normal text.