#28251C color
The hex color #28251C is a very dark, grayish yellow.
In the RGB color model it is made of 15.7% red, 14.5% green and 11% blue (40, 37, 28).
Its hue angle is 45°, with 18% saturation and 13% lightness. For print, the CMYK equivalent is 0% cyan, 7% magenta, 30% yellow and 84% black.
The closest named color is Marshland (#2B2E26), a difference of 4.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.31:1).
#28251C color codes
| HEX | #28251C | |
|---|---|---|
| RGB | rgb(40, 37, 28) | |
| RGB percent | rgb(15.7%, 14.5%, 11%) | |
| HSL | hsl(45, 18%, 13%) | |
| HSV / HSB | hsv(45, 30%, 16%) | |
| CMYK | cmyk(0%, 7%, 30%, 84%) | |
| CIE LAB | lab(14.72, -0.5, 6.51) | |
| CIE LCH | lch(14.72, 6.53, 94.37) | |
| CIE XYZ | xyz(1.746, 1.858, 1.365) | |
| Decimal | 2630940 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #28251C, 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 #28251C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.37:1 | Fail | Fail | Fail |
| Sample text | 15.31:1 | Pass | Pass | Pass |
| #28251C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.31:1 | Pass | Pass | Pass |
| Sample text | 1.37: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 #28251C looks to people with the most common types of color vision deficiency.
#27251bProtanopia
no red cones#28251cDeuteranopia
no green cones#2a2423Tritanopia
no blue cones#252525Achromatopsia
no color vision
CSS examples
.background { background-color: #28251c; }
.text { color: #28251c; }
.border { border: 2px solid #28251c; }
.transparent { background-color: rgb(40 37 28 / 50%); }
.gradient { background: linear-gradient(to right, #28251c, #25281c); }
Similar colors
#2b2e26Marshland#1f180aNoir Mystique#312b27Noir#262926Bitter Liquorice#393227Creole#1c1c1aCoco’s Black#332f2cHoly Crow#1e231cUnderworld
Closest common color name: Jet Black.
Questions
- What color is #28251C?
- #28251C 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 #28251C?
- The RGB value is 40, 37, 28: 40 red, 37 green and 28 blue on a 0 to 255 scale.
- What is the complementary color of #28251C?
- The complementary color is #1C1F28, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #28251C?
- White text. Black text has a contrast ratio of 1.37:1 and white text 15.31:1. WCAG asks for at least 4.5:1 for normal text.