#122012 color

#122012 rgb(18, 32, 18)
Shades of black

The hex color #122012 is a very dark, desaturated green.

In the RGB color model it is made of 7.1% red, 12.5% green and 7.1% blue (18, 32, 18).

Its hue angle is 120°, with 28% saturation and 10% lightness. For print, the CMYK equivalent is 44% cyan, 0% magenta, 44% yellow and 87% black.

The closest named color is Nightmare (#112211), a difference of 1.8 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 16.92:1).

#122012 color codes

HEX#122012
RGBrgb(18, 32, 18)
RGB percentrgb(7.1%, 12.5%, 7.1%)
HSLhsl(120, 28%, 10%)
HSV / HSBhsv(120, 44%, 13%)
CMYKcmyk(44%, 0%, 44%, 87%)
CIE LABlab(10.6, -9.84, 7.42)
CIE LCHlch(10.6, 12.32, 143)
CIE XYZxyz(0.875, 1.205, 0.759)
Decimal1187858
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #122012, 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 #122012RatioAAAAAAA large
Sample text1.24:1FailFailFail
Sample text16.92:1PassPassPass
#122012 as text onRatioAAAAAAA large
Sample text16.92:1PassPassPass
Sample text1.24: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 #122012 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #122012; }
.text { color: #122012; }
.border { border: 2px solid #122012; }
.transparent { background-color: rgb(18 32 18 / 50%); }
.gradient { background: linear-gradient(to right, #122012, #122019); }
Background
Text color
Border

Similar colors

Closest common color name: Onyx.

Questions

What color is #122012?
#122012 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 #122012?
The RGB value is 18, 32, 18: 18 red, 32 green and 18 blue on a 0 to 255 scale.
What is the complementary color of #122012?
The complementary color is #201220, found by rotating the hue 180° on the color wheel.
Is black or white text better on #122012?
White text. Black text has a contrast ratio of 1.24:1 and white text 16.92:1. WCAG asks for at least 4.5:1 for normal text.