#151F0B color
The hex color #151F0B is a very dark, desaturated green.
In the RGB color model it is made of 8.2% red, 12.2% green and 4.3% blue (21, 31, 11).
Its hue angle is 90°, with 48% saturation and 8% lightness. For print, the CMYK equivalent is 32% cyan, 0% magenta, 65% yellow and 88% black.
The closest named color is Midnight Pines (#17240B), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.04:1).
#151F0B color codes
| HEX | #151F0B | |
|---|---|---|
| RGB | rgb(21, 31, 11) | |
| RGB percent | rgb(8.2%, 12.2%, 4.3%) | |
| HSL | hsl(90, 48%, 8%) | |
| HSV / HSB | hsv(90, 65%, 12%) | |
| CMYK | cmyk(32%, 0%, 65%, 88%) | |
| CIE LAB | lab(10.29, -9.13, 10.64) | |
| CIE LCH | lch(10.29, 14.02, 130.61) | |
| CIE XYZ | xyz(0.86, 1.164, 0.496) | |
| Decimal | 1384203 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #151F0B, 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 #151F0B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.23:1 | Fail | Fail | Fail |
| Sample text | 17.04:1 | Pass | Pass | Pass |
| #151F0B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.04: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 #151F0B looks to people with the most common types of color vision deficiency.
#211d09Protanopia
no red cones#1f1c0cDeuteranopia
no green cones#161e1aTritanopia
no blue cones#1c1c1cAchromatopsia
no color vision
CSS examples
.background { background-color: #151f0b; }
.text { color: #151f0b; }
.border { border: 2px solid #151f0b; }
.transparent { background-color: rgb(21 31 11 / 50%); }
.gradient { background: linear-gradient(to right, #151f0b, #0b1f0b); }
Similar colors
#17240bMidnight Pines#112211Nightmare#172808Lindworm Green#001000Cosmic Bit Flip#091101Memorial Black#1e231cUnderworld#020f03Blackn’t#041108Jedi Night
Closest common color name: Onyx.
Questions
- What color is #151F0B?
- #151F0B is a very dark, desaturated green, closest to the named color Midnight Pines. It belongs to the black family of colors.
- What is the RGB value of #151F0B?
- The RGB value is 21, 31, 11: 21 red, 31 green and 11 blue on a 0 to 255 scale.
- What is the complementary color of #151F0B?
- The complementary color is #150B1F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #151F0B?
- White text. Black text has a contrast ratio of 1.23:1 and white text 17.04:1. WCAG asks for at least 4.5:1 for normal text.