#18170F color
The hex color #18170F is a very dark, grayish yellow.
In the RGB color model it is made of 9.4% red, 9% green and 5.9% blue (24, 23, 15).
Its hue angle is 53°, with 23% saturation and 8% lightness. For print, the CMYK equivalent is 0% cyan, 4% magenta, 37% yellow and 91% black.
The closest named color is Twilight Zone (#191916), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.97:1).
#18170F color codes
| HEX | #18170F | |
|---|---|---|
| RGB | rgb(24, 23, 15) | |
| RGB percent | rgb(9.4%, 9%, 5.9%) | |
| HSL | hsl(53, 23%, 8%) | |
| HSV / HSB | hsv(53, 38%, 9%) | |
| CMYK | cmyk(0%, 4%, 37%, 91%) | |
| CIE LAB | lab(7.6, -1.25, 4.9) | |
| CIE LCH | lch(7.6, 5.06, 104.31) | |
| CIE XYZ | xyz(0.769, 0.841, 0.574) | |
| Decimal | 1578767 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #18170F, 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 #18170F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.17:1 | Fail | Fail | Fail |
| Sample text | 17.97:1 | Pass | Pass | Pass |
| #18170F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.97:1 | Pass | Pass | Pass |
| Sample text | 1.17: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 #18170F looks to people with the most common types of color vision deficiency.
#19160eProtanopia
no red cones#19170fDeuteranopia
no green cones#191615Tritanopia
no blue cones#171717Achromatopsia
no color vision
CSS examples
.background { background-color: #18170f; }
.text { color: #18170f; }
.border { border: 2px solid #18170f; }
.transparent { background-color: rgb(24 23 15 / 50%); }
.gradient { background: linear-gradient(to right, #18170f, #15180f); }
Similar colors
#191916Twilight Zone#161410King Kong#12110eSinister#1c1c1aCoco’s Black#141311Dark Veil#121210Glimpse Into Space#1b150dSoulless#130d07Balsamico
Closest common color name: Off Black.
Questions
- What color is #18170F?
- #18170F is a very dark, grayish yellow, closest to the named color Twilight Zone. It belongs to the black family of colors.
- What is the RGB value of #18170F?
- The RGB value is 24, 23, 15: 24 red, 23 green and 15 blue on a 0 to 255 scale.
- What is the complementary color of #18170F?
- The complementary color is #0F1018, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #18170F?
- White text. Black text has a contrast ratio of 1.17:1 and white text 17.97:1. WCAG asks for at least 4.5:1 for normal text.