#1A221A color

#1A221A rgb(26, 34, 26)
Shades of black

The hex color #1A221A is a very dark, grayish green.

In the RGB color model it is made of 10.2% red, 13.3% green and 10.2% blue (26, 34, 26).

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

The closest named color is Underworld (#1E231C), a difference of 1.9 ΔE, which is barely visible.

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

#1A221A color codes

HEX#1A221A
RGBrgb(26, 34, 26)
RGB percentrgb(10.2%, 13.3%, 10.2%)
HSLhsl(120, 13%, 12%)
HSV / HSBhsv(120, 24%, 13%)
CMYKcmyk(24%, 0%, 24%, 87%)
CIE LABlab(12.21, -5.67, 4.23)
CIE LCHlch(12.21, 7.07, 143.32)
CIE XYZxyz(1.184, 1.438, 1.192)
Decimal1712666
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #1a221a; }
.text { color: #1a221a; }
.border { border: 2px solid #1a221a; }
.transparent { background-color: rgb(26 34 26 / 50%); }
.gradient { background: linear-gradient(to right, #1a221a, #1a221e); }
Background
Text color
Border

Similar colors

Closest common color name: Onyx.

Questions

What color is #1A221A?
#1A221A is a very dark, grayish green, closest to the named color Underworld. It belongs to the black family of colors.
What is the RGB value of #1A221A?
The RGB value is 26, 34, 26: 26 red, 34 green and 26 blue on a 0 to 255 scale.
What is the complementary color of #1A221A?
The complementary color is #221A22, found by rotating the hue 180° on the color wheel.
Is black or white text better on #1A221A?
White text. Black text has a contrast ratio of 1.29:1 and white text 16.31:1. WCAG asks for at least 4.5:1 for normal text.