#312D21 color

#312D21 rgb(49, 45, 33)
Shades of black

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

In the RGB color model it is made of 19.2% red, 17.6% green and 12.9% blue (49, 45, 33).

Its hue angle is 45°, with 20% saturation and 16% lightness. For print, the CMYK equivalent is 0% cyan, 8% magenta, 33% yellow and 81% black.

The closest named color is Creole (#393227), a difference of 2.9 ΔE, a small difference.

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

#312D21 color codes

HEX#312D21
RGBrgb(49, 45, 33)
RGB percentrgb(19.2%, 17.6%, 12.9%)
HSLhsl(45, 20%, 16%)
HSV / HSBhsv(45, 33%, 19%)
CMYKcmyk(0%, 8%, 33%, 81%)
CIE LABlab(18.54, -0.58, 8.44)
CIE LCHlch(18.54, 8.46, 93.95)
CIE XYZxyz(2.48, 2.64, 1.817)
Decimal3222817
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #312d21; }
.text { color: #312d21; }
.border { border: 2px solid #312d21; }
.transparent { background-color: rgb(49 45 33 / 50%); }
.gradient { background: linear-gradient(to right, #312d21, #2d3121); }
Background
Text color
Border

Similar colors

Closest common color name: Onyx.

Questions

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