#303128 color
The hex color #303128 is a very dark, grayish yellow.
In the RGB color model it is made of 18.8% red, 19.2% green and 15.7% blue (48, 49, 40).
Its hue angle is 67°, with 10% saturation and 17% lightness. For print, the CMYK equivalent is 2% cyan, 0% magenta, 18% yellow and 81% black.
The closest named color is Marshland (#2B2E26), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.16:1).
#303128 color codes
| HEX | #303128 | |
|---|---|---|
| RGB | rgb(48, 49, 40) | |
| RGB percent | rgb(18.8%, 19.2%, 15.7%) | |
| HSL | hsl(67, 10%, 17%) | |
| HSV / HSB | hsv(67, 18%, 19%) | |
| CMYK | cmyk(2%, 0%, 18%, 81%) | |
| CIE LAB | lab(19.96, -2.42, 5.61) | |
| CIE LCH | lch(19.96, 6.11, 113.33) | |
| CIE XYZ | xyz(2.7, 2.978, 2.44) | |
| Decimal | 3158312 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #303128, 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 #303128 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.6:1 | Fail | Fail | Fail |
| Sample text | 13.16:1 | Pass | Pass | Pass |
| #303128 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.16:1 | Pass | Pass | Pass |
| Sample text | 1.6: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 #303128 looks to people with the most common types of color vision deficiency.
#323027Protanopia
no red cones#323028Deuteranopia
no green cones#31302eTritanopia
no blue cones#303030Achromatopsia
no color vision
CSS examples
.background { background-color: #303128; }
.text { color: #303128; }
.border { border: 2px solid #303128; }
.transparent { background-color: rgb(48 49 40 / 50%); }
.gradient { background: linear-gradient(to right, #303128, #2c3128); }
Similar colors
#2b2e26Marshland#313330Oil#2b322dTerminal Black#3b3c36Black Olive#353935Onyx#262926Bitter Liquorice#393227Creole#1e231cUnderworld
Questions
- What color is #303128?
- #303128 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 #303128?
- The RGB value is 48, 49, 40: 48 red, 49 green and 40 blue on a 0 to 255 scale.
- What is the complementary color of #303128?
- The complementary color is #292831, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #303128?
- White text. Black text has a contrast ratio of 1.6:1 and white text 13.16:1. WCAG asks for at least 4.5:1 for normal text.