#303128 color

#303128 rgb(48, 49, 40)
Shades of black

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

In the RGB color model it is made of 18.8% red, 19.2% green and 15.7% blue (48, 49, 40).

Its hue angle is 67°, with 10% saturation and 17% lightness. For print, the CMYK equivalent is 2% cyan, 0% magenta, 18% yellow and 81% black.

The closest named color is Marshland (#2B2E26), a difference of 1.7 ΔE, which is barely visible.

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

#303128 color codes

HEX#303128
RGBrgb(48, 49, 40)
RGB percentrgb(18.8%, 19.2%, 15.7%)
HSLhsl(67, 10%, 17%)
HSV / HSBhsv(67, 18%, 19%)
CMYKcmyk(2%, 0%, 18%, 81%)
CIE LABlab(19.96, -2.42, 5.61)
CIE LCHlch(19.96, 6.11, 113.33)
CIE XYZxyz(2.7, 2.978, 2.44)
Decimal3158312
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #303128; }
.text { color: #303128; }
.border { border: 2px solid #303128; }
.transparent { background-color: rgb(48 49 40 / 50%); }
.gradient { background: linear-gradient(to right, #303128, #2c3128); }
Background
Text color
Border

Similar colors

Questions

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