#181B17 color
The hex color #181B17 is a very dark, grayish green.
In the RGB color model it is made of 9.4% red, 10.6% green and 9% blue (24, 27, 23).
Its hue angle is 105°, with 8% saturation and 10% lightness. For print, the CMYK equivalent is 11% cyan, 0% magenta, 15% yellow and 89% black.
The closest named color is Twilight Zone (#191916), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.38:1).
#181B17 color codes
| HEX | #181B17 | |
|---|---|---|
| RGB | rgb(24, 27, 23) | |
| RGB percent | rgb(9.4%, 10.6%, 9%) | |
| HSL | hsl(105, 8%, 10%) | |
| HSV / HSB | hsv(105, 15%, 11%) | |
| CMYK | cmyk(11%, 0%, 15%, 89%) | |
| CIE LAB | lab(9.32, -2.45, 2.3) | |
| CIE LCH | lch(9.32, 3.36, 136.83) | |
| CIE XYZ | xyz(0.923, 1.04, 0.963) | |
| Decimal | 1579799 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #181B17, 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 #181B17 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.21:1 | Fail | Fail | Fail |
| Sample text | 17.38:1 | Pass | Pass | Pass |
| #181B17 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.38:1 | Pass | Pass | Pass |
| Sample text | 1.21: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 #181B17 looks to people with the most common types of color vision deficiency.
#1b1a17Protanopia
no red cones#1b1a17Deuteranopia
no green cones#181b1aTritanopia
no blue cones#1a1a1aAchromatopsia
no color vision
CSS examples
.background { background-color: #181b17; }
.text { color: #181b17; }
.border { border: 2px solid #181b17; }
.transparent { background-color: rgb(24 27 23 / 50%); }
.gradient { background: linear-gradient(to right, #181b17, #171b18); }
Similar colors
#191916Twilight Zone#1c1c1aCoco’s Black#1e231cUnderworld#121210Glimpse Into Space#161410King Kong#141311Dark Veil#12110eSinister#151515Matt Black
Closest common color name: Off Black.
Questions
- What color is #181B17?
- #181B17 is a very dark, grayish green, closest to the named color Twilight Zone. It belongs to the black family of colors.
- What is the RGB value of #181B17?
- The RGB value is 24, 27, 23: 24 red, 27 green and 23 blue on a 0 to 255 scale.
- What is the complementary color of #181B17?
- The complementary color is #1A171B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #181B17?
- White text. Black text has a contrast ratio of 1.21:1 and white text 17.38:1. WCAG asks for at least 4.5:1 for normal text.