#242917 color
The hex color #242917 is a very dark, desaturated yellow-green.
In the RGB color model it is made of 14.1% red, 16.1% green and 9% blue (36, 41, 23).
Its hue angle is 77°, with 28% saturation and 13% lightness. For print, the CMYK equivalent is 12% cyan, 0% magenta, 44% yellow and 84% black.
The closest named color is Midnight Pines (#17240B), a difference of 5.1 ΔE.
White text is the more readable choice on this background (contrast 14.95:1).
#242917 color codes
| HEX | #242917 | |
|---|---|---|
| RGB | rgb(36, 41, 23) | |
| RGB percent | rgb(14.1%, 16.1%, 9%) | |
| HSL | hsl(77, 28%, 13%) | |
| HSV / HSB | hsv(77, 44%, 16%) | |
| CMYK | cmyk(12%, 0%, 44%, 84%) | |
| CIE LAB | lab(15.61, -6.12, 11.09) | |
| CIE LCH | lch(15.61, 12.67, 118.87) | |
| CIE XYZ | xyz(1.675, 2.023, 1.113) | |
| Decimal | 2369815 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #242917, 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 #242917 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.4:1 | Fail | Fail | Fail |
| Sample text | 14.95:1 | Pass | Pass | Pass |
| #242917 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.95:1 | Pass | Pass | Pass |
| Sample text | 1.4: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 #242917 looks to people with the most common types of color vision deficiency.
#2b2716Protanopia
no red cones#2a2718Deuteranopia
no green cones#252724Tritanopia
no blue cones#272727Achromatopsia
no color vision
CSS examples
.background { background-color: #242917; }
.text { color: #242917; }
.border { border: 2px solid #242917; }
.transparent { background-color: rgb(36 41 23 / 50%); }
.gradient { background: linear-gradient(to right, #242917, #1b2917); }
Similar colors
#17240bMidnight Pines#2b2e26Marshland#1e231cUnderworld#112211Nightmare#172808Lindworm Green#2b322dTerminal Black#223311Darkest Forest#091101Memorial Black
Closest common color name: Onyx.
Questions
- What color is #242917?
- #242917 is a very dark, desaturated yellow-green, closest to the named color Midnight Pines. It belongs to the gray family of colors.
- What is the RGB value of #242917?
- The RGB value is 36, 41, 23: 36 red, 41 green and 23 blue on a 0 to 255 scale.
- What is the complementary color of #242917?
- The complementary color is #1C1729, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #242917?
- White text. Black text has a contrast ratio of 1.4:1 and white text 14.95:1. WCAG asks for at least 4.5:1 for normal text.