#1B2C17 color
The hex color #1B2C17 is a very dark, desaturated green.
In the RGB color model it is made of 10.6% red, 17.3% green and 9% blue (27, 44, 23).
Its hue angle is 109°, with 31% saturation and 13% lightness. For print, the CMYK equivalent is 39% cyan, 0% magenta, 48% yellow and 83% black.
The closest named color is Midnight Pines (#17240B), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.8:1).
#1B2C17 color codes
| HEX | #1B2C17 | |
|---|---|---|
| RGB | rgb(27, 44, 23) | |
| RGB percent | rgb(10.6%, 17.3%, 9%) | |
| HSL | hsl(109, 31%, 13%) | |
| HSV / HSB | hsv(109, 48%, 17%) | |
| CMYK | cmyk(39%, 0%, 48%, 83%) | |
| CIE LAB | lab(15.98, -12.24, 11.45) | |
| CIE LCH | lch(15.98, 16.76, 136.92) | |
| CIE XYZ | xyz(1.507, 2.096, 1.136) | |
| Decimal | 1780759 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1B2C17, 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 #1B2C17 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.42:1 | Fail | Fail | Fail |
| Sample text | 14.8:1 | Pass | Pass | Pass |
| #1B2C17 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.8:1 | Pass | Pass | Pass |
| Sample text | 1.42: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 #1B2C17 looks to people with the most common types of color vision deficiency.
#2d2916Protanopia
no red cones#2b2718Deuteranopia
no green cones#1a2b27Tritanopia
no blue cones#282828Achromatopsia
no color vision
CSS examples
.background { background-color: #1b2c17; }
.text { color: #1b2c17; }
.border { border: 2px solid #1b2c17; }
.transparent { background-color: rgb(27 44 23 / 50%); }
.gradient { background: linear-gradient(to right, #1b2c17, #172c1d); }
Similar colors
#17240bMidnight Pines#112211Nightmare#172808Lindworm Green#223311Darkest Forest#113311Dark Serpent#032e0eHaunted Forest#003322Pitch-Black Forests#003311Haunted Hills
Closest common color name: British Racing Green.
Questions
- What color is #1B2C17?
- #1B2C17 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 #1B2C17?
- The RGB value is 27, 44, 23: 27 red, 44 green and 23 blue on a 0 to 255 scale.
- What is the complementary color of #1B2C17?
- The complementary color is #28172C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1B2C17?
- White text. Black text has a contrast ratio of 1.42:1 and white text 14.8:1. WCAG asks for at least 4.5:1 for normal text.