#2D3128 color

#2D3128 rgb(45, 49, 40)
Shades of black

The hex color #2D3128 is a very dark, grayish yellow-green.

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

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

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

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

#2D3128 color codes

HEX#2D3128
RGBrgb(45, 49, 40)
RGB percentrgb(17.6%, 19.2%, 15.7%)
HSLhsl(87, 10%, 17%)
HSV / HSBhsv(87, 18%, 19%)
CMYKcmyk(8%, 0%, 18%, 81%)
CIE LABlab(19.67, -3.81, 5.17)
CIE LCHlch(19.67, 6.42, 126.38)
CIE XYZxyz(2.563, 2.908, 2.433)
Decimal2961704
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Questions

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