#302F1D color
The hex color #302F1D is a very dark, grayish yellow.
In the RGB color model it is made of 18.8% red, 18.4% green and 11.4% blue (48, 47, 29).
Its hue angle is 57°, with 25% saturation and 15% lightness. For print, the CMYK equivalent is 0% cyan, 2% magenta, 40% yellow and 81% black.
The closest named color is Marshland (#2B2E26), a difference of 5.3 ΔE.
White text is the more readable choice on this background (contrast 13.55:1).
#302F1D color codes
| HEX | #302F1D | |
|---|---|---|
| RGB | rgb(48, 47, 29) | |
| RGB percent | rgb(18.8%, 18.4%, 11.4%) | |
| HSL | hsl(57, 25%, 15%) | |
| HSV / HSB | hsv(57, 40%, 19%) | |
| CMYK | cmyk(0%, 2%, 40%, 81%) | |
| CIE LAB | lab(19.01, -3.08, 11.76) | |
| CIE LCH | lch(19.01, 12.15, 104.67) | |
| CIE XYZ | xyz(2.457, 2.75, 1.564) | |
| Decimal | 3157789 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #302F1D, 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 #302F1D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.55:1 | Fail | Fail | Fail |
| Sample text | 13.55:1 | Pass | Pass | Pass |
| #302F1D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.55:1 | Pass | Pass | Pass |
| Sample text | 1.55: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 #302F1D looks to people with the most common types of color vision deficiency.
#322e1cProtanopia
no red cones#332f1eDeuteranopia
no green cones#332d2aTritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
CSS examples
.background { background-color: #302f1d; }
.text { color: #302f1d; }
.border { border: 2px solid #302f1d; }
.transparent { background-color: rgb(48 47 29 / 50%); }
.gradient { background: linear-gradient(to right, #302f1d, #27301d); }
Similar colors
#2b2e26Marshland#393227Creole#1e231cUnderworld#473e23Madras#3b3c36Black Olive#2b322dTerminal Black#313330Oil#262926Bitter Liquorice
Closest common color name: Onyx.
Questions
- What color is #302F1D?
- #302F1D is a very dark, grayish yellow, closest to the named color Marshland. It belongs to the gray family of colors.
- What is the RGB value of #302F1D?
- The RGB value is 48, 47, 29: 48 red, 47 green and 29 blue on a 0 to 255 scale.
- What is the complementary color of #302F1D?
- The complementary color is #1D1E30, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #302F1D?
- White text. Black text has a contrast ratio of 1.55:1 and white text 13.55:1. WCAG asks for at least 4.5:1 for normal text.