#272C1F color
The hex color #272C1F is a very dark, grayish yellow-green.
In the RGB color model it is made of 15.3% red, 17.3% green and 12.2% blue (39, 44, 31).
Its hue angle is 83°, with 17% saturation and 15% lightness. For print, the CMYK equivalent is 11% cyan, 0% magenta, 30% yellow and 83% black.
The closest named color is Marshland (#2B2E26), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.32:1).
#272C1F color codes
| HEX | #272C1F | |
|---|---|---|
| RGB | rgb(39, 44, 31) | |
| RGB percent | rgb(15.3%, 17.3%, 12.2%) | |
| HSL | hsl(83, 17%, 15%) | |
| HSV / HSB | hsv(83, 30%, 17%) | |
| CMYK | cmyk(11%, 0%, 30%, 83%) | |
| CIE LAB | lab(17.14, -5.16, 7.73) | |
| CIE LCH | lch(17.14, 9.29, 123.71) | |
| CIE XYZ | xyz(1.985, 2.332, 1.642) | |
| Decimal | 2567199 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #272C1F, 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 #272C1F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.47:1 | Fail | Fail | Fail |
| Sample text | 14.32:1 | Pass | Pass | Pass |
| #272C1F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.32:1 | Pass | Pass | Pass |
| Sample text | 1.47: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 #272C1F looks to people with the most common types of color vision deficiency.
#2e2a1eProtanopia
no red cones#2d2a20Deuteranopia
no green cones#282b28Tritanopia
no blue cones#2a2a2aAchromatopsia
no color vision
CSS examples
.background { background-color: #272c1f; }
.text { color: #272c1f; }
.border { border: 2px solid #272c1f; }
.transparent { background-color: rgb(39 44 31 / 50%); }
.gradient { background: linear-gradient(to right, #272c1f, #212c1f); }
Similar colors
#2b2e26Marshland#1e231cUnderworld#2b322dTerminal Black#262926Bitter Liquorice#313330Oil#353935Onyx#17240bMidnight Pines#293432Aztec
Questions
- What color is #272C1F?
- #272C1F is a very dark, grayish yellow-green, closest to the named color Marshland. It belongs to the black family of colors.
- What is the RGB value of #272C1F?
- The RGB value is 39, 44, 31: 39 red, 44 green and 31 blue on a 0 to 255 scale.
- What is the complementary color of #272C1F?
- The complementary color is #241F2C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #272C1F?
- White text. Black text has a contrast ratio of 1.47:1 and white text 14.32:1. WCAG asks for at least 4.5:1 for normal text.