#212815 color

#212815 rgb(33, 40, 21)
Shades of green

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

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

Its hue angle is 82°, with 31% saturation and 12% lightness. For print, the CMYK equivalent is 18% cyan, 0% magenta, 47% yellow and 84% black.

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

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

#212815 color codes

HEX#212815
RGBrgb(33, 40, 21)
RGB percentrgb(12.9%, 15.7%, 8.2%)
HSLhsl(82, 31%, 12%)
HSV / HSBhsv(82, 48%, 16%)
CMYKcmyk(18%, 0%, 47%, 84%)
CIE LABlab(14.93, -7.3, 11.51)
CIE LCHlch(14.93, 13.63, 122.37)
CIE XYZxyz(1.521, 1.895, 0.995)
Decimal2172949
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Onyx.

Questions

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