#303126 color
The hex color #303126 is a very dark, grayish yellow.
In the RGB color model it is made of 18.8% red, 19.2% green and 14.9% blue (48, 49, 38).
Its hue angle is 65°, with 13% saturation and 17% lightness. For print, the CMYK equivalent is 2% cyan, 0% magenta, 22% yellow and 81% black.
The closest named color is Marshland (#2B2E26), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.18:1).
#303126 color codes
| HEX | #303126 | |
|---|---|---|
| RGB | rgb(48, 49, 38) | |
| RGB percent | rgb(18.8%, 19.2%, 14.9%) | |
| HSL | hsl(65, 13%, 17%) | |
| HSV / HSB | hsv(65, 22%, 19%) | |
| CMYK | cmyk(2%, 0%, 22%, 81%) | |
| CIE LAB | lab(19.9, -2.82, 6.9) | |
| CIE LCH | lch(19.9, 7.45, 112.21) | |
| CIE XYZ | xyz(2.667, 2.965, 2.265) | |
| Decimal | 3158310 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #303126, 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 #303126 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.59:1 | Fail | Fail | Fail |
| Sample text | 13.18:1 | Pass | Pass | Pass |
| #303126 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.18:1 | Pass | Pass | Pass |
| Sample text | 1.59: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 #303126 looks to people with the most common types of color vision deficiency.
#333025Protanopia
no red cones#333026Deuteranopia
no green cones#31302eTritanopia
no blue cones#303030Achromatopsia
no color vision
CSS examples
.background { background-color: #303126; }
.text { color: #303126; }
.border { border: 2px solid #303126; }
.transparent { background-color: rgb(48 49 38 / 50%); }
.gradient { background: linear-gradient(to right, #303126, #2a3126); }
Similar colors
#2b2e26Marshland#2b322dTerminal Black#313330Oil#3b3c36Black Olive#353935Onyx#262926Bitter Liquorice#393227Creole#1e231cUnderworld
Questions
- What color is #303126?
- #303126 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 #303126?
- The RGB value is 48, 49, 38: 48 red, 49 green and 38 blue on a 0 to 255 scale.
- What is the complementary color of #303126?
- The complementary color is #272631, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #303126?
- White text. Black text has a contrast ratio of 1.59:1 and white text 13.18:1. WCAG asks for at least 4.5:1 for normal text.