#12241A color
The hex color #12241A is a very dark, desaturated green.
In the RGB color model it is made of 7.1% red, 14.1% green and 10.2% blue (18, 36, 26).
Its hue angle is 147°, with 33% saturation and 11% lightness. For print, the CMYK equivalent is 50% cyan, 0% magenta, 28% yellow and 86% black.
The closest named color is Nightmare (#112211), a difference of 3.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.24:1).
#12241A color codes
| HEX | #12241A | |
|---|---|---|
| RGB | rgb(18, 36, 26) | |
| RGB percent | rgb(7.1%, 14.1%, 10.2%) | |
| HSL | hsl(147, 33%, 11%) | |
| HSV / HSB | hsv(147, 50%, 14%) | |
| CMYK | cmyk(50%, 0%, 28%, 86%) | |
| CIE LAB | lab(12.38, -10.39, 4.38) | |
| CIE LCH | lch(12.38, 11.28, 157.13) | |
| CIE XYZ | xyz(1.067, 1.465, 1.204) | |
| Decimal | 1188890 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #12241A, 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 #12241A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.29:1 | Fail | Fail | Fail |
| Sample text | 16.24:1 | Pass | Pass | Pass |
| #12241A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.24:1 | Pass | Pass | Pass |
| Sample text | 1.29: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 #12241A looks to people with the most common types of color vision deficiency.
#242119Protanopia
no red cones#211f1bDeuteranopia
no green cones#0e2421Tritanopia
no blue cones#202020Achromatopsia
no color vision
CSS examples
.background { background-color: #12241a; }
.text { color: #12241a; }
.border { border: 2px solid #12241a; }
.transparent { background-color: rgb(18 36 26 / 50%); }
.gradient { background: linear-gradient(to right, #12241a, #122423); }
Similar colors
#112211Nightmare#162825Swamp Thing#17240bMidnight Pines#1e231cUnderworld#001000Cosmic Bit Flip#041108Jedi Night#020f03Blackn’t#091101Memorial Black
Closest common color name: Onyx.
Questions
- What color is #12241A?
- #12241A is a very dark, desaturated green, closest to the named color Nightmare. It belongs to the black family of colors.
- What is the RGB value of #12241A?
- The RGB value is 18, 36, 26: 18 red, 36 green and 26 blue on a 0 to 255 scale.
- What is the complementary color of #12241A?
- The complementary color is #24121C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #12241A?
- White text. Black text has a contrast ratio of 1.29:1 and white text 16.24:1. WCAG asks for at least 4.5:1 for normal text.