#212A15 color

#212A15 rgb(33, 42, 21)
Shades of green

The hex color #212A15 is a very dark, desaturated yellow-green.

In the RGB color model it is made of 12.9% red, 16.5% green and 8.2% blue (33, 42, 21).

Its hue angle is 86°, with 33% saturation and 12% lightness. For print, the CMYK equivalent is 21% cyan, 0% magenta, 50% yellow and 84% black.

The closest named color is Midnight Pines (#17240B), a difference of 3.1 ΔE, a small difference.

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

#212A15 color codes

HEX#212A15
RGBrgb(33, 42, 21)
RGB percentrgb(12.9%, 16.5%, 8.2%)
HSLhsl(86, 33%, 12%)
HSV / HSBhsv(86, 50%, 16%)
CMYKcmyk(21%, 0%, 50%, 84%)
CIE LABlab(15.66, -8.58, 12.46)
CIE LCHlch(15.66, 15.13, 124.57)
CIE XYZxyz(1.591, 2.033, 1.018)
Decimal2173461
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #212A15, 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 #212A15RatioAAAAAAA large
Sample text1.41:1FailFailFail
Sample text14.93:1PassPassPass
#212A15 as text onRatioAAAAAAA large
Sample text14.93:1PassPassPass
Sample text1.41: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 #212A15 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #212a15; }
.text { color: #212a15; }
.border { border: 2px solid #212a15; }
.transparent { background-color: rgb(33 42 21 / 50%); }
.gradient { background: linear-gradient(to right, #212a15, #172a15); }
Background
Text color
Border

Similar colors

Closest common color name: Onyx.

Questions

What color is #212A15?
#212A15 is a very dark, desaturated yellow-green, closest to the named color Midnight Pines. It belongs to the green family of colors.
What is the RGB value of #212A15?
The RGB value is 33, 42, 21: 33 red, 42 green and 21 blue on a 0 to 255 scale.
What is the complementary color of #212A15?
The complementary color is #1E152A, found by rotating the hue 180° on the color wheel.
Is black or white text better on #212A15?
White text. Black text has a contrast ratio of 1.41:1 and white text 14.93:1. WCAG asks for at least 4.5:1 for normal text.