Midnight Pines color: hex code #17240B
Midnight Pines has the hex code #17240B. It is a very dark, moderate green.
In the RGB color model it is made of 9% red, 14.1% green and 4.3% blue (23, 36, 11).
Its hue angle is 91°, with 53% saturation and 9% lightness. For print, the CMYK equivalent is 36% cyan, 0% magenta, 69% yellow and 86% black.
White text is the more readable choice on this background (contrast 16.23:1).
Midnight Pines (#17240B) color codes
| HEX | #17240B | |
|---|---|---|
| RGB | rgb(23, 36, 11) | |
| RGB percent | rgb(9%, 14.1%, 4.3%) | |
| HSL | hsl(91, 53%, 9%) | |
| HSV / HSB | hsv(91, 69%, 14%) | |
| CMYK | cmyk(36%, 0%, 69%, 86%) | |
| CIE LAB | lab(12.4, -11.26, 13.59) | |
| CIE LCH | lch(12.4, 17.65, 129.64) | |
| CIE XYZ | xyz(1.045, 1.468, 0.545) | |
| Decimal | 1516555 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Midnight Pines, 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 #17240B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.29:1 | Fail | Fail | Fail |
| Sample text | 16.23:1 | Pass | Pass | Pass |
| #17240B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.23:1 | Pass | Pass | Pass |
| Sample text | 1.29: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 #17240B looks to people with the most common types of color vision deficiency.
#262109Protanopia
no red cones#24200dDeuteranopia
no green cones#17221eTritanopia
no blue cones#202020Achromatopsia
no color vision
CSS examples
.background { background-color: #17240b; }
.text { color: #17240b; }
.border { border: 2px solid #17240b; }
.transparent { background-color: rgb(23 36 11 / 50%); }
.gradient { background: linear-gradient(to right, #17240b, #0b240c); }
Similar colors
#172808Lindworm Green#112211Nightmare#223311Darkest Forest#113311Dark Serpent#032e0eHaunted Forest#002d04PCB Green#001000Cosmic Bit Flip#1e231cUnderworld
Closest common color name: British Racing Green.
See #17240B on its hex code page
Questions
- What color is #17240B?
- #17240B is a very dark, moderate green known as Midnight Pines. It belongs to the green family of colors.
- What is the RGB value of Midnight Pines?
- The RGB value is 23, 36, 11: 23 red, 36 green and 11 blue on a 0 to 255 scale.
- What is the complementary color of Midnight Pines?
- The complementary color is #180B24, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #17240B?
- White text. Black text has a contrast ratio of 1.29:1 and white text 16.23:1. WCAG asks for at least 4.5:1 for normal text.