#302F1E color
The hex color #302F1E is a very dark, grayish yellow.
In the RGB color model it is made of 18.8% red, 18.4% green and 11.8% blue (48, 47, 30).
Its hue angle is 57°, with 23% saturation and 15% lightness. For print, the CMYK equivalent is 0% cyan, 2% magenta, 37% yellow and 81% black.
The closest named color is Marshland (#2B2E26), a difference of 4.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.54:1).
#302F1E color codes
| HEX | #302F1E | |
|---|---|---|
| RGB | rgb(48, 47, 30) | |
| RGB percent | rgb(18.8%, 18.4%, 11.8%) | |
| HSL | hsl(57, 23%, 15%) | |
| HSV / HSB | hsv(57, 38%, 19%) | |
| CMYK | cmyk(0%, 2%, 37%, 81%) | |
| CIE LAB | lab(19.04, -2.92, 11.12) | |
| CIE LCH | lch(19.04, 11.49, 104.71) | |
| CIE XYZ | xyz(2.47, 2.755, 1.63) | |
| Decimal | 3157790 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #302F1E, 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 #302F1E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.55:1 | Fail | Fail | Fail |
| Sample text | 13.54:1 | Pass | Pass | Pass |
| #302F1E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.54: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 #302F1E looks to people with the most common types of color vision deficiency.
#322e1dProtanopia
no red cones#322f1fDeuteranopia
no green cones#332d2bTritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
CSS examples
.background { background-color: #302f1e; }
.text { color: #302f1e; }
.border { border: 2px solid #302f1e; }
.transparent { background-color: rgb(48 47 30 / 50%); }
.gradient { background: linear-gradient(to right, #302f1e, #28301e); }
Similar colors
#2b2e26Marshland#393227Creole#1e231cUnderworld#3b3c36Black Olive#2b322dTerminal Black#473e23Madras#313330Oil#262926Bitter Liquorice
Closest common color name: Onyx.
Questions
- What color is #302F1E?
- #302F1E 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 #302F1E?
- The RGB value is 48, 47, 30: 48 red, 47 green and 30 blue on a 0 to 255 scale.
- What is the complementary color of #302F1E?
- The complementary color is #1E1F30, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #302F1E?
- White text. Black text has a contrast ratio of 1.55:1 and white text 13.54:1. WCAG asks for at least 4.5:1 for normal text.