#12281D color
The hex color #12281D is a very dark, desaturated spring green.
In the RGB color model it is made of 7.1% red, 15.7% green and 11.4% blue (18, 40, 29).
Its hue angle is 150°, with 38% saturation and 11% lightness. For print, the CMYK equivalent is 55% cyan, 0% magenta, 27% yellow and 84% black.
The closest named color is Nightmare (#112211), a difference of 3.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.59:1).
#12281D color codes
| HEX | #12281D | |
|---|---|---|
| RGB | rgb(18, 40, 29) | |
| RGB percent | rgb(7.1%, 15.7%, 11.4%) | |
| HSL | hsl(150, 38%, 11%) | |
| HSV / HSB | hsv(150, 55%, 16%) | |
| CMYK | cmyk(55%, 0%, 27%, 84%) | |
| CIE LAB | lab(14.03, -12.05, 4.56) | |
| CIE LCH | lch(14.03, 12.88, 159.26) | |
| CIE XYZ | xyz(1.23, 1.735, 1.432) | |
| Decimal | 1189917 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #12281D, 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 #12281D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.35:1 | Fail | Fail | Fail |
| Sample text | 15.59:1 | Pass | Pass | Pass |
| #12281D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.59:1 | Pass | Pass | Pass |
| Sample text | 1.35: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 #12281D looks to people with the most common types of color vision deficiency.
#27251cProtanopia
no red cones#24231eDeuteranopia
no green cones#0c2825Tritanopia
no blue cones#242424Achromatopsia
no color vision
CSS examples
.background { background-color: #12281d; }
.text { color: #12281d; }
.border { border: 2px solid #12281d; }
.transparent { background-color: rgb(18 40 29 / 50%); }
.gradient { background: linear-gradient(to right, #12281d, #122828); }
Similar colors
#112211Nightmare#162825Swamp Thing#17240bMidnight Pines#003322Pitch-Black Forests#172808Lindworm Green#1e231cUnderworld#001000Cosmic Bit Flip#264334Everglade
Closest common color name: Onyx.
Questions
- What color is #12281D?
- #12281D is a very dark, desaturated spring green, closest to the named color Nightmare. It belongs to the gray family of colors.
- What is the RGB value of #12281D?
- The RGB value is 18, 40, 29: 18 red, 40 green and 29 blue on a 0 to 255 scale.
- What is the complementary color of #12281D?
- The complementary color is #28121D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #12281D?
- White text. Black text has a contrast ratio of 1.35:1 and white text 15.59:1. WCAG asks for at least 4.5:1 for normal text.