#2F301F color

#2F301F rgb(47, 48, 31)
Shades of black

The hex color #2F301F is a very dark, grayish yellow.

In the RGB color model it is made of 18.4% red, 18.8% green and 12.2% blue (47, 48, 31).

Its hue angle is 64°, with 22% saturation and 15% lightness. For print, the CMYK equivalent is 2% cyan, 0% magenta, 35% yellow and 81% black.

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

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

#2F301F color codes

HEX#2F301F
RGBrgb(47, 48, 31)
RGB percentrgb(18.4%, 18.8%, 12.2%)
HSLhsl(64, 22%, 15%)
HSV / HSBhsv(64, 35%, 19%)
CMYKcmyk(2%, 0%, 35%, 81%)
CIE LABlab(19.3, -3.91, 10.78)
CIE LCHlch(19.3, 11.46, 109.93)
CIE XYZxyz(2.477, 2.817, 1.709)
Decimal3092511
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #2f301f; }
.text { color: #2f301f; }
.border { border: 2px solid #2f301f; }
.transparent { background-color: rgb(47 48 31 / 50%); }
.gradient { background: linear-gradient(to right, #2f301f, #27301f); }
Background
Text color
Border

Similar colors

Questions

What color is #2F301F?
#2F301F 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 #2F301F?
The RGB value is 47, 48, 31: 47 red, 48 green and 31 blue on a 0 to 255 scale.
What is the complementary color of #2F301F?
The complementary color is #201F30, found by rotating the hue 180° on the color wheel.
Is black or white text better on #2F301F?
White text. Black text has a contrast ratio of 1.56:1 and white text 13.43:1. WCAG asks for at least 4.5:1 for normal text.