#28342A color
The hex color #28342A is a very dark, grayish green.
In the RGB color model it is made of 15.7% red, 20.4% green and 16.5% blue (40, 52, 42).
Its hue angle is 130°, with 13% saturation and 18% lightness. For print, the CMYK equivalent is 23% cyan, 0% magenta, 19% yellow and 80% black.
The closest named color is Terminal Black (#2B322D), a difference of 3.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13:1).
#28342A color codes
| HEX | #28342A | |
|---|---|---|
| RGB | rgb(40, 52, 42) | |
| RGB percent | rgb(15.7%, 20.4%, 16.5%) | |
| HSL | hsl(130, 13%, 18%) | |
| HSV / HSB | hsv(130, 23%, 20%) | |
| CMYK | cmyk(23%, 0%, 19%, 80%) | |
| CIE LAB | lab(20.34, -7.52, 4.69) | |
| CIE LCH | lch(20.34, 8.86, 148.06) | |
| CIE XYZ | xyz(2.521, 3.074, 2.651) | |
| Decimal | 2634794 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #28342A, 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 #28342A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.61:1 | Fail | Fail | Fail |
| Sample text | 13:1 | Pass | Pass | Pass |
| #28342A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13:1 | Pass | Pass | Pass |
| Sample text | 1.61:1 | Fail | Fail | Fail |
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 #28342A looks to people with the most common types of color vision deficiency.
#343229Protanopia
no red cones#32312bDeuteranopia
no green cones#273331Tritanopia
no blue cones#313131Achromatopsia
no color vision
CSS examples
.background { background-color: #28342a; }
.text { color: #28342a; }
.border { border: 2px solid #28342a; }
.transparent { background-color: rgb(40 52 42 / 50%); }
.gradient { background: linear-gradient(to right, #28342a, #283430); }
Similar colors
#2b322dTerminal Black#293432Aztec#2b2e26Marshland#162825Swamp Thing#353935Onyx#1e231cUnderworld#3c463eDeep Forest#262926Bitter Liquorice
Questions
- What color is #28342A?
- #28342A 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 #28342A?
- The RGB value is 40, 52, 42: 40 red, 52 green and 42 blue on a 0 to 255 scale.
- What is the complementary color of #28342A?
- The complementary color is #342832, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #28342A?
- White text. Black text has a contrast ratio of 1.61:1 and white text 13:1. WCAG asks for at least 4.5:1 for normal text.