#12312D color

#12312D rgb(18, 49, 45)
Shades of gray

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
RGBrgb(18, 49, 45)
RGB percentrgb(7.1%, 19.2%, 17.6%)
HSLhsl(172, 46%, 13%)
HSV / HSBhsv(172, 63%, 19%)
CMYKcmyk(63%, 0%, 8%, 81%)
CIE LABlab(17.98, -12.69, -0.94)
CIE LCHlch(17.98, 12.72, 184.23)
CIE XYZxyz(1.821, 2.515, 2.871)
Decimal1192237
Short hexNone (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 #12312DRatioAAAAAAA large
Sample text1.5:1FailFailFail
Sample text13.97:1PassPassPass
#12312D as text onRatioAAAAAAA large
Sample text13.97:1PassPassPass
Sample text1.5:1FailFailFail

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.

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); }
Background
Text color
Border

Similar colors

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.