#18312A color
The hex color #18312A is a very dark, desaturated spring green.
In the RGB color model it is made of 9.4% red, 19.2% green and 16.5% blue (24, 49, 42).
Its hue angle is 163°, with 34% saturation and 14% lightness. For print, the CMYK equivalent is 51% cyan, 0% magenta, 14% yellow and 81% black.
The closest named color is Swamp Thing (#162825), a difference of 4.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.89:1).
#18312A color codes
| HEX | #18312A | |
|---|---|---|
| RGB | rgb(24, 49, 42) | |
| RGB percent | rgb(9.4%, 19.2%, 16.5%) | |
| HSL | hsl(163, 34%, 14%) | |
| HSV / HSB | hsv(163, 51%, 19%) | |
| CMYK | cmyk(51%, 0%, 14%, 81%) | |
| CIE LAB | lab(18.18, -11.79, 1.45) | |
| CIE LCH | lch(18.18, 11.88, 172.97) | |
| CIE XYZ | xyz(1.893, 2.558, 2.584) | |
| Decimal | 1585450 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #18312A, 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 #18312A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.51:1 | Fail | Fail | Fail |
| Sample text | 13.89:1 | Pass | Pass | Pass |
| #18312A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.89:1 | Pass | Pass | Pass |
| Sample text | 1.51: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 #18312A looks to people with the most common types of color vision deficiency.
#2f2e2aProtanopia
no red cones#2b2b2aDeuteranopia
no green cones#0f312fTritanopia
no blue cones#2c2c2cAchromatopsia
no color vision
CSS examples
.background { background-color: #18312a; }
.text { color: #18312a; }
.border { border: 2px solid #18312a; }
.transparent { background-color: rgb(24 49 42 / 50%); }
.gradient { background: linear-gradient(to right, #18312a, #182b31); }
Similar colors
#162825Swamp Thing#12403cBotanical Night#133337Elite Teal#264334Everglade#293432Aztec#003322Pitch-Black Forests#112211Nightmare#2b322dTerminal Black
Closest common color name: Onyx.
Questions
- What color is #18312A?
- #18312A is a very dark, desaturated spring green, closest to the named color Swamp Thing. It belongs to the black family of colors.
- What is the RGB value of #18312A?
- The RGB value is 24, 49, 42: 24 red, 49 green and 42 blue on a 0 to 255 scale.
- What is the complementary color of #18312A?
- The complementary color is #31181F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #18312A?
- White text. Black text has a contrast ratio of 1.51:1 and white text 13.89:1. WCAG asks for at least 4.5:1 for normal text.