#28261A color
The hex color #28261A is a very dark, grayish yellow.
In the RGB color model it is made of 15.7% red, 14.9% green and 10.2% blue (40, 38, 26).
Its hue angle is 51°, with 21% saturation and 13% lightness. For print, the CMYK equivalent is 0% cyan, 5% magenta, 35% yellow and 84% black.
The closest named color is Marshland (#2B2E26), a difference of 4.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.19:1).
#28261A color codes
| HEX | #28261A | |
|---|---|---|
| RGB | rgb(40, 38, 26) | |
| RGB percent | rgb(15.7%, 14.9%, 10.2%) | |
| HSL | hsl(51, 21%, 13%) | |
| HSV / HSB | hsv(51, 35%, 16%) | |
| CMYK | cmyk(0%, 5%, 35%, 84%) | |
| CIE LAB | lab(15.02, -1.55, 8.32) | |
| CIE LCH | lch(15.02, 8.46, 100.58) | |
| CIE XYZ | xyz(1.755, 1.912, 1.254) | |
| Decimal | 2631194 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #28261A, 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 #28261A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.38:1 | Fail | Fail | Fail |
| Sample text | 15.19:1 | Pass | Pass | Pass |
| #28261A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.19:1 | Pass | Pass | Pass |
| Sample text | 1.38: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 #28261A looks to people with the most common types of color vision deficiency.
#282519Protanopia
no red cones#29261aDeuteranopia
no green cones#2a2423Tritanopia
no blue cones#262626Achromatopsia
no color vision
CSS examples
.background { background-color: #28261a; }
.text { color: #28261a; }
.border { border: 2px solid #28261a; }
.transparent { background-color: rgb(40 38 26 / 50%); }
.gradient { background: linear-gradient(to right, #28261a, #23281a); }
Similar colors
#2b2e26Marshland#1e231cUnderworld#1f180aNoir Mystique#393227Creole#262926Bitter Liquorice#191916Twilight Zone#312b27Noir#1c1c1aCoco’s Black
Closest common color name: Onyx.
Questions
- What color is #28261A?
- #28261A 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 #28261A?
- The RGB value is 40, 38, 26: 40 red, 38 green and 26 blue on a 0 to 255 scale.
- What is the complementary color of #28261A?
- The complementary color is #1A1C28, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #28261A?
- White text. Black text has a contrast ratio of 1.38:1 and white text 15.19:1. WCAG asks for at least 4.5:1 for normal text.