#30301F color
The hex color #30301F is a very dark, grayish yellow.
In the RGB color model it is made of 18.8% red, 18.8% green and 12.2% blue (48, 48, 31).
Its hue angle is 60°, with 22% saturation and 15% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 35% yellow and 81% 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 13.39:1).
#30301F color codes
| HEX | #30301F | |
|---|---|---|
| RGB | rgb(48, 48, 31) | |
| RGB percent | rgb(18.8%, 18.8%, 12.2%) | |
| HSL | hsl(60, 22%, 15%) | |
| HSV / HSB | hsv(60, 35%, 19%) | |
| CMYK | cmyk(0%, 0%, 35%, 81%) | |
| CIE LAB | lab(19.4, -3.42, 10.93) | |
| CIE LCH | lch(19.4, 11.45, 107.35) | |
| CIE XYZ | xyz(2.523, 2.841, 1.712) | |
| Decimal | 3158047 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #30301F, 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 #30301F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.57:1 | Fail | Fail | Fail |
| Sample text | 13.39:1 | Pass | Pass | Pass |
| #30301F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.39:1 | Pass | Pass | Pass |
| Sample text | 1.57: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 #30301F looks to people with the most common types of color vision deficiency.
#332f1eProtanopia
no red cones#332f20Deuteranopia
no green cones#322e2cTritanopia
no blue cones#2f2f2fAchromatopsia
no color vision
CSS examples
.background { background-color: #30301f; }
.text { color: #30301f; }
.border { border: 2px solid #30301f; }
.transparent { background-color: rgb(48 48 31 / 50%); }
.gradient { background: linear-gradient(to right, #30301f, #28301f); }
Similar colors
#2b2e26Marshland#393227Creole#1e231cUnderworld#3b3c36Black Olive#2b322dTerminal Black#313330Oil#353935Onyx#262926Bitter Liquorice
Questions
- What color is #30301F?
- #30301F 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 #30301F?
- The RGB value is 48, 48, 31: 48 red, 48 green and 31 blue on a 0 to 255 scale.
- What is the complementary color of #30301F?
- The complementary color is #1F1F30, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #30301F?
- White text. Black text has a contrast ratio of 1.57:1 and white text 13.39:1. WCAG asks for at least 4.5:1 for normal text.