#312F22 color

#312F22 rgb(49, 47, 34)
Shades of black

The hex color #312F22 is a very dark, grayish yellow.

In the RGB color model it is made of 19.2% red, 18.4% green and 13.3% blue (49, 47, 34).

Its hue angle is 52°, with 18% saturation and 16% lightness. For print, the CMYK equivalent is 0% cyan, 4% magenta, 31% yellow and 81% black.

The closest named color is Marshland (#2B2E26), a difference of 3.9 ΔE, a small difference.

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

#312F22 color codes

HEX#312F22
RGBrgb(49, 47, 34)
RGB percentrgb(19.2%, 18.4%, 13.3%)
HSLhsl(52, 18%, 16%)
HSV / HSBhsv(52, 31%, 19%)
CMYKcmyk(0%, 4%, 31%, 81%)
CIE LABlab(19.23, -1.75, 8.7)
CIE LCHlch(19.23, 8.88, 101.36)
CIE XYZxyz(2.572, 2.802, 1.918)
Decimal3223330
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #312F22, 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 #312F22RatioAAAAAAA large
Sample text1.56:1FailFailFail
Sample text13.46:1PassPassPass
#312F22 as text onRatioAAAAAAA large
Sample text13.46:1PassPassPass
Sample text1.56: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 #312F22 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #312f22; }
.text { color: #312f22; }
.border { border: 2px solid #312f22; }
.transparent { background-color: rgb(49 47 34 / 50%); }
.gradient { background: linear-gradient(to right, #312f22, #2b3122); }
Background
Text color
Border

Similar colors

Questions

What color is #312F22?
#312F22 is a very dark, grayish yellow, closest to the named color Marshland. It belongs to the black family of colors.
What is the RGB value of #312F22?
The RGB value is 49, 47, 34: 49 red, 47 green and 34 blue on a 0 to 255 scale.
What is the complementary color of #312F22?
The complementary color is #222431, found by rotating the hue 180° on the color wheel.
Is black or white text better on #312F22?
White text. Black text has a contrast ratio of 1.56:1 and white text 13.46:1. WCAG asks for at least 4.5:1 for normal text.