#1B1D18 color
The hex color #1B1D18 is a very dark, grayish yellow-green.
In the RGB color model it is made of 10.6% red, 11.4% green and 9.4% blue (27, 29, 24).
Its hue angle is 84°, with 9% saturation and 10% lightness. For print, the CMYK equivalent is 7% cyan, 0% magenta, 17% yellow and 89% black.
The closest named color is Twilight Zone (#191916), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17:1).
#1B1D18 color codes
| HEX | #1B1D18 | |
|---|---|---|
| RGB | rgb(27, 29, 24) | |
| RGB percent | rgb(10.6%, 11.4%, 9.4%) | |
| HSL | hsl(84, 9%, 10%) | |
| HSV / HSB | hsv(84, 17%, 11%) | |
| CMYK | cmyk(7%, 0%, 17%, 89%) | |
| CIE LAB | lab(10.39, -2.18, 3.13) | |
| CIE LCH | lch(10.39, 3.81, 124.89) | |
| CIE XYZ | xyz(1.056, 1.178, 1.036) | |
| Decimal | 1776920 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1B1D18, 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 #1B1D18 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.24:1 | Fail | Fail | Fail |
| Sample text | 17:1 | Pass | Pass | Pass |
| #1B1D18 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17:1 | Pass | Pass | Pass |
| Sample text | 1.24: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 #1B1D18 looks to people with the most common types of color vision deficiency.
#1e1c18Protanopia
no red cones#1d1c18Deuteranopia
no green cones#1b1c1cTritanopia
no blue cones#1c1c1cAchromatopsia
no color vision
CSS examples
.background { background-color: #1b1d18; }
.text { color: #1b1d18; }
.border { border: 2px solid #1b1d18; }
.transparent { background-color: rgb(27 29 24 / 50%); }
.gradient { background: linear-gradient(to right, #1b1d18, #191d18); }
Similar colors
#191916Twilight Zone#1c1c1aCoco’s Black#1e231cUnderworld#161410King Kong#262926Bitter Liquorice#121210Glimpse Into Space#212121Lead#141311Dark Veil
Closest common color name: Off Black.
Questions
- What color is #1B1D18?
- #1B1D18 is a very dark, grayish yellow-green, closest to the named color Twilight Zone. It belongs to the black family of colors.
- What is the RGB value of #1B1D18?
- The RGB value is 27, 29, 24: 27 red, 29 green and 24 blue on a 0 to 255 scale.
- What is the complementary color of #1B1D18?
- The complementary color is #1A181D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1B1D18?
- White text. Black text has a contrast ratio of 1.24:1 and white text 17:1. WCAG asks for at least 4.5:1 for normal text.