#28342C color

#28342C rgb(40, 52, 44)
Shades of gray

The hex color #28342C is a very dark, grayish green.

In the RGB color model it is made of 15.7% red, 20.4% green and 17.3% blue (40, 52, 44).

Its hue angle is 140°, with 13% saturation and 18% lightness. For print, the CMYK equivalent is 23% cyan, 0% magenta, 15% yellow and 80% black.

The closest named color is Terminal Black (#2B322D), a difference of 3.2 ΔE, a small difference.

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

#28342C color codes

HEX#28342C
RGBrgb(40, 52, 44)
RGB percentrgb(15.7%, 20.4%, 17.3%)
HSLhsl(140, 13%, 18%)
HSV / HSBhsv(140, 23%, 20%)
CMYKcmyk(23%, 0%, 15%, 80%)
CIE LABlab(20.4, -7.05, 3.41)
CIE LCHlch(20.4, 7.83, 154.17)
CIE XYZxyz(2.558, 3.089, 2.844)
Decimal2634796
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #28342C, 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 #28342CRatioAAAAAAA large
Sample text1.62:1FailFailFail
Sample text12.98:1PassPassPass
#28342C as text onRatioAAAAAAA large
Sample text12.98:1PassPassPass
Sample text1.62: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 #28342C looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #28342c; }
.text { color: #28342c; }
.border { border: 2px solid #28342c; }
.transparent { background-color: rgb(40 52 44 / 50%); }
.gradient { background: linear-gradient(to right, #28342c, #283432); }
Background
Text color
Border

Similar colors

Questions

What color is #28342C?
#28342C is a very dark, grayish green, closest to the named color Terminal Black. It belongs to the gray family of colors.
What is the RGB value of #28342C?
The RGB value is 40, 52, 44: 40 red, 52 green and 44 blue on a 0 to 255 scale.
What is the complementary color of #28342C?
The complementary color is #342830, found by rotating the hue 180° on the color wheel.
Is black or white text better on #28342C?
White text. Black text has a contrast ratio of 1.62:1 and white text 12.98:1. WCAG asks for at least 4.5:1 for normal text.