#2E2F1A color
The hex color #2E2F1A is a very dark, desaturated yellow.
In the RGB color model it is made of 18% red, 18.4% green and 10.2% blue (46, 47, 26).
Its hue angle is 63°, with 29% saturation and 14% lightness. For print, the CMYK equivalent is 2% cyan, 0% magenta, 45% yellow and 82% black.
The closest named color is Marshland (#2B2E26), a difference of 6.2 ΔE.
White text is the more readable choice on this background (contrast 13.66:1).
#2E2F1A color codes
| HEX | #2E2F1A | |
|---|---|---|
| RGB | rgb(46, 47, 26) | |
| RGB percent | rgb(18%, 18.4%, 10.2%) | |
| HSL | hsl(63, 29%, 14%) | |
| HSV / HSB | hsv(63, 45%, 18%) | |
| CMYK | cmyk(2%, 0%, 45%, 82%) | |
| CIE LAB | lab(18.75, -4.55, 13.36) | |
| CIE LCH | lch(18.75, 14.11, 108.79) | |
| CIE XYZ | xyz(2.33, 2.688, 1.373) | |
| Decimal | 3026714 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2E2F1A, 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 #2E2F1A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.54:1 | Fail | Fail | Fail |
| Sample text | 13.66:1 | Pass | Pass | Pass |
| #2E2F1A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.66:1 | Pass | Pass | Pass |
| Sample text | 1.54: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 #2E2F1A looks to people with the most common types of color vision deficiency.
#322d18Protanopia
no red cones#322e1bDeuteranopia
no green cones#312d2aTritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
CSS examples
.background { background-color: #2e2f1a; }
.text { color: #2e2f1a; }
.border { border: 2px solid #2e2f1a; }
.transparent { background-color: rgb(46 47 26 / 50%); }
.gradient { background: linear-gradient(to right, #2e2f1a, #232f1a); }
Similar colors
#2b2e26Marshland#17240bMidnight Pines#1e231cUnderworld#393227Creole#473e23Madras#223311Darkest Forest#2b322dTerminal Black#3b3c36Black Olive
Closest common color name: Onyx.
Questions
- What color is #2E2F1A?
- #2E2F1A is a very dark, desaturated yellow, closest to the named color Marshland. It belongs to the yellow family of colors.
- What is the RGB value of #2E2F1A?
- The RGB value is 46, 47, 26: 46 red, 47 green and 26 blue on a 0 to 255 scale.
- What is the complementary color of #2E2F1A?
- The complementary color is #1B1A2F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2E2F1A?
- White text. Black text has a contrast ratio of 1.54:1 and white text 13.66:1. WCAG asks for at least 4.5:1 for normal text.