#222917 color

#222917 rgb(34, 41, 23)
Shades of gray

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

In the RGB color model it is made of 13.3% red, 16.1% green and 9% blue (34, 41, 23).

Its hue angle is 83°, with 28% saturation and 13% lightness. For print, the CMYK equivalent is 17% cyan, 0% magenta, 44% yellow and 84% black.

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

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

#222917 color codes

HEX#222917
RGBrgb(34, 41, 23)
RGB percentrgb(13.3%, 16.1%, 9%)
HSLhsl(83, 28%, 13%)
HSV / HSBhsv(83, 44%, 16%)
CMYKcmyk(17%, 0%, 44%, 84%)
CIE LABlab(15.42, -7.11, 10.82)
CIE LCHlch(15.42, 12.94, 123.3)
CIE XYZxyz(1.607, 1.988, 1.109)
Decimal2238743
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #222917; }
.text { color: #222917; }
.border { border: 2px solid #222917; }
.transparent { background-color: rgb(34 41 23 / 50%); }
.gradient { background: linear-gradient(to right, #222917, #192917); }
Background
Text color
Border

Similar colors

Closest common color name: Onyx.

Questions

What color is #222917?
#222917 is a very dark, desaturated yellow-green, closest to the named color Midnight Pines. It belongs to the gray family of colors.
What is the RGB value of #222917?
The RGB value is 34, 41, 23: 34 red, 41 green and 23 blue on a 0 to 255 scale.
What is the complementary color of #222917?
The complementary color is #1E1729, found by rotating the hue 180° on the color wheel.
Is black or white text better on #222917?
White text. Black text has a contrast ratio of 1.4:1 and white text 15.03:1. WCAG asks for at least 4.5:1 for normal text.