#222717 color

#222717 rgb(34, 39, 23)
Shades of black

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

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

Its hue angle is 79°, with 26% saturation and 12% lightness. For print, the CMYK equivalent is 13% cyan, 0% magenta, 41% yellow and 85% black.

The closest named color is Underworld (#1E231C), a difference of 4.7 ΔE, a small difference.

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

#222717 color codes

HEX#222717
RGBrgb(34, 39, 23)
RGB percentrgb(13.3%, 15.3%, 9%)
HSLhsl(79, 26%, 12%)
HSV / HSBhsv(79, 41%, 15%)
CMYKcmyk(13%, 0%, 41%, 85%)
CIE LABlab(14.7, -5.79, 9.86)
CIE LCHlch(14.7, 11.44, 120.44)
CIE XYZxyz(1.54, 1.853, 1.087)
Decimal2238231
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Onyx.

Questions

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