#28382A color
The hex color #28382A is a very dark, grayish green.
In the RGB color model it is made of 15.7% red, 22% green and 16.5% blue (40, 56, 42).
Its hue angle is 128°, with 17% saturation and 19% lightness. For print, the CMYK equivalent is 29% cyan, 0% magenta, 25% yellow and 78% black.
The closest named color is Everglade (#264334), a difference of 5.1 ΔE.
White text is the more readable choice on this background (contrast 12.43:1).
#28382A color codes
| HEX | #28382A | |
|---|---|---|
| RGB | rgb(40, 56, 42) | |
| RGB percent | rgb(15.7%, 22%, 16.5%) | |
| HSL | hsl(128, 17%, 19%) | |
| HSV / HSB | hsv(128, 29%, 22%) | |
| CMYK | cmyk(29%, 0%, 25%, 78%) | |
| CIE LAB | lab(21.75, -10.02, 6.67) | |
| CIE LCH | lch(21.75, 12.04, 146.34) | |
| CIE XYZ | xyz(2.707, 3.447, 2.713) | |
| Decimal | 2635818 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #28382A, 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 #28382A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.69:1 | Fail | Fail | Fail |
| Sample text | 12.43:1 | Pass | Pass | Pass |
| #28382A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.43:1 | Pass | Pass | Pass |
| Sample text | 1.69: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 #28382A looks to people with the most common types of color vision deficiency.
#383529Protanopia
no red cones#36332bDeuteranopia
no green cones#263734Tritanopia
no blue cones#343434Achromatopsia
no color vision
CSS examples
.background { background-color: #28382a; }
.text { color: #28382a; }
.border { border: 2px solid #28382a; }
.transparent { background-color: rgb(40 56 42 / 50%); }
.gradient { background: linear-gradient(to right, #28382a, #283832); }
Similar colors
#264334Everglade#36482fPalm Leaf#394c3bMountain View#2b322dTerminal Black#3c463eDeep Forest#293432Aztec#334d41Pine Needle#112211Nightmare
Closest common color name: Onyx.
Questions
- What color is #28382A?
- #28382A is a very dark, grayish green, closest to the named color Everglade. It belongs to the gray family of colors.
- What is the RGB value of #28382A?
- The RGB value is 40, 56, 42: 40 red, 56 green and 42 blue on a 0 to 255 scale.
- What is the complementary color of #28382A?
- The complementary color is #382836, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #28382A?
- White text. Black text has a contrast ratio of 1.69:1 and white text 12.43:1. WCAG asks for at least 4.5:1 for normal text.