#302F23 color
The hex color #302F23 is a very dark, grayish yellow.
In the RGB color model it is made of 18.8% red, 18.4% green and 13.7% blue (48, 47, 35).
Its hue angle is 55°, with 16% saturation and 16% lightness. For print, the CMYK equivalent is 0% cyan, 2% magenta, 27% yellow and 81% black.
The closest named color is Marshland (#2B2E26), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.49:1).
#302F23 color codes
| HEX | #302F23 | |
|---|---|---|
| RGB | rgb(48, 47, 35) | |
| RGB percent | rgb(18.8%, 18.4%, 13.7%) | |
| HSL | hsl(55, 16%, 16%) | |
| HSV / HSB | hsv(55, 27%, 19%) | |
| CMYK | cmyk(0%, 2%, 27%, 81%) | |
| CIE LAB | lab(19.15, -2.05, 7.9) | |
| CIE LCH | lch(19.15, 8.16, 104.58) | |
| CIE XYZ | xyz(2.539, 2.783, 1.993) | |
| Decimal | 3157795 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #302F23, 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 #302F23 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.56:1 | Fail | Fail | Fail |
| Sample text | 13.49:1 | Pass | Pass | Pass |
| #302F23 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.49:1 | Pass | Pass | Pass |
| Sample text | 1.56: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 #302F23 looks to people with the most common types of color vision deficiency.
#312e22Protanopia
no red cones#322f23Deuteranopia
no green cones#322d2cTritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
CSS examples
.background { background-color: #302f23; }
.text { color: #302f23; }
.border { border: 2px solid #302f23; }
.transparent { background-color: rgb(48 47 35 / 50%); }
.gradient { background: linear-gradient(to right, #302f23, #2a3023); }
Similar colors
#2b2e26Marshland#393227Creole#313330Oil#3b3c36Black Olive#262926Bitter Liquorice#2b322dTerminal Black#1e231cUnderworld#353935Onyx
Questions
- What color is #302F23?
- #302F23 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 #302F23?
- The RGB value is 48, 47, 35: 48 red, 47 green and 35 blue on a 0 to 255 scale.
- What is the complementary color of #302F23?
- The complementary color is #232430, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #302F23?
- White text. Black text has a contrast ratio of 1.56:1 and white text 13.49:1. WCAG asks for at least 4.5:1 for normal text.