#30301F color

#30301F rgb(48, 48, 31)
Shades of black

The hex color #30301F is a very dark, grayish yellow.

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

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

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

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

#30301F color codes

HEX#30301F
RGBrgb(48, 48, 31)
RGB percentrgb(18.8%, 18.8%, 12.2%)
HSLhsl(60, 22%, 15%)
HSV / HSBhsv(60, 35%, 19%)
CMYKcmyk(0%, 0%, 35%, 81%)
CIE LABlab(19.4, -3.42, 10.93)
CIE LCHlch(19.4, 11.45, 107.35)
CIE XYZxyz(2.523, 2.841, 1.712)
Decimal3158047
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #30301F, 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 #30301FRatioAAAAAAA large
Sample text1.57:1FailFailFail
Sample text13.39:1PassPassPass
#30301F as text onRatioAAAAAAA large
Sample text13.39:1PassPassPass
Sample text1.57: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 #30301F looks to people with the most common types of color vision deficiency.

CSS examples

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

Similar colors

Questions

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