#12312D color
The hex color #12312D is a very dark, desaturated spring green.
In the RGB color model it is made of 7.1% red, 19.2% green and 17.6% blue (18, 49, 45).
Its hue angle is 172°, with 46% saturation and 13% lightness. For print, the CMYK equivalent is 63% cyan, 0% magenta, 8% yellow and 81% black.
The closest named color is Swamp Thing (#162825), a difference of 4.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.97:1).
#12312D color codes
| HEX | #12312D | |
|---|---|---|
| RGB | rgb(18, 49, 45) | |
| RGB percent | rgb(7.1%, 19.2%, 17.6%) | |
| HSL | hsl(172, 46%, 13%) | |
| HSV / HSB | hsv(172, 63%, 19%) | |
| CMYK | cmyk(63%, 0%, 8%, 81%) | |
| CIE LAB | lab(17.98, -12.69, -0.94) | |
| CIE LCH | lch(17.98, 12.72, 184.23) | |
| CIE XYZ | xyz(1.821, 2.515, 2.871) | |
| Decimal | 1192237 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #12312D, 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 #12312D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.5:1 | Fail | Fail | Fail |
| Sample text | 13.97:1 | Pass | Pass | Pass |
| #12312D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.97:1 | Pass | Pass | Pass |
| Sample text | 1.5: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 #12312D looks to people with the most common types of color vision deficiency.
#2f2e2dProtanopia
no red cones#2a2a2dDeuteranopia
no green cones#023230Tritanopia
no blue cones#2c2c2cAchromatopsia
no color vision
CSS examples
.background { background-color: #12312d; }
.text { color: #12312d; }
.border { border: 2px solid #12312d; }
.transparent { background-color: rgb(18 49 45 / 50%); }
.gradient { background: linear-gradient(to right, #12312d, #122631); }
Similar colors
#162825Swamp Thing#133337Elite Teal#12403cBotanical Night#293432Aztec#224347Emerald Forest#003322Pitch-Black Forests#1c3b42Royal Neptune#264334Everglade
Closest common color name: Dark Slate Gray.
Questions
- What color is #12312D?
- #12312D is a very dark, desaturated spring green, closest to the named color Swamp Thing. It belongs to the gray family of colors.
- What is the RGB value of #12312D?
- The RGB value is 18, 49, 45: 18 red, 49 green and 45 blue on a 0 to 255 scale.
- What is the complementary color of #12312D?
- The complementary color is #311216, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #12312D?
- White text. Black text has a contrast ratio of 1.5:1 and white text 13.97:1. WCAG asks for at least 4.5:1 for normal text.