#12180B color
The hex color #12180B is a very dark, desaturated yellow-green.
In the RGB color model it is made of 7.1% red, 9.4% green and 4.3% blue (18, 24, 11).
Its hue angle is 88°, with 37% saturation and 7% lightness. For print, the CMYK equivalent is 25% cyan, 0% magenta, 54% yellow and 91% black.
The closest named color is Memorial Black (#091101), a difference of 2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 18.08:1).
#12180B color codes
| HEX | #12180B | |
|---|---|---|
| RGB | rgb(18, 24, 11) | |
| RGB percent | rgb(7.1%, 9.4%, 4.3%) | |
| HSL | hsl(88, 37%, 7%) | |
| HSV / HSB | hsv(88, 54%, 9%) | |
| CMYK | cmyk(25%, 0%, 54%, 91%) | |
| CIE LAB | lab(7.28, -5.31, 6.28) | |
| CIE LCH | lch(7.28, 8.22, 130.21) | |
| CIE XYZ | xyz(0.636, 0.806, 0.439) | |
| Decimal | 1185803 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #12180B, 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 #12180B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.16:1 | Fail | Fail | Fail |
| Sample text | 18.08:1 | Pass | Pass | Pass |
| #12180B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.08:1 | Pass | Pass | Pass |
| Sample text | 1.16: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 #12180B looks to people with the most common types of color vision deficiency.
#19160aProtanopia
no red cones#18160cDeuteranopia
no green cones#131715Tritanopia
no blue cones#161616Achromatopsia
no color vision
CSS examples
.background { background-color: #12180b; }
.text { color: #12180b; }
.border { border: 2px solid #12180b; }
.transparent { background-color: rgb(18 24 11 / 50%); }
.gradient { background: linear-gradient(to right, #12180b, #0b180b); }
Similar colors
#091101Memorial Black#001000Cosmic Bit Flip#020f03Blackn’t#041108Jedi Night#1e231cUnderworld#191916Twilight Zone#112211Nightmare#1c1c1aCoco’s Black
Closest common color name: Off Black.
Questions
- What color is #12180B?
- #12180B is a very dark, desaturated yellow-green, closest to the named color Memorial Black. It belongs to the black family of colors.
- What is the RGB value of #12180B?
- The RGB value is 18, 24, 11: 18 red, 24 green and 11 blue on a 0 to 255 scale.
- What is the complementary color of #12180B?
- The complementary color is #110B18, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #12180B?
- White text. Black text has a contrast ratio of 1.16:1 and white text 18.08:1. WCAG asks for at least 4.5:1 for normal text.