#272D1F color
The hex color #272D1F is a very dark, grayish yellow-green.
In the RGB color model it is made of 15.3% red, 17.6% green and 12.2% blue (39, 45, 31).
Its hue angle is 86°, with 18% saturation and 15% lightness. For print, the CMYK equivalent is 13% cyan, 0% magenta, 31% yellow and 82% black.
The closest named color is Marshland (#2B2E26), a difference of 3.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.18:1).
#272D1F color codes
| HEX | #272D1F | |
|---|---|---|
| RGB | rgb(39, 45, 31) | |
| RGB percent | rgb(15.3%, 17.6%, 12.2%) | |
| HSL | hsl(86, 18%, 15%) | |
| HSV / HSB | hsv(86, 31%, 18%) | |
| CMYK | cmyk(13%, 0%, 31%, 82%) | |
| CIE LAB | lab(17.49, -5.81, 8.21) | |
| CIE LCH | lch(17.49, 10.06, 125.3) | |
| CIE XYZ | xyz(2.022, 2.407, 1.654) | |
| Decimal | 2567455 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #272D1F, 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 #272D1F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.48:1 | Fail | Fail | Fail |
| Sample text | 14.18:1 | Pass | Pass | Pass |
| #272D1F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.18:1 | Pass | Pass | Pass |
| Sample text | 1.48: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 #272D1F looks to people with the most common types of color vision deficiency.
#2f2b1eProtanopia
no red cones#2e2b20Deuteranopia
no green cones#282c29Tritanopia
no blue cones#2b2b2bAchromatopsia
no color vision
CSS examples
.background { background-color: #272d1f; }
.text { color: #272d1f; }
.border { border: 2px solid #272d1f; }
.transparent { background-color: rgb(39 45 31 / 50%); }
.gradient { background: linear-gradient(to right, #272d1f, #202d1f); }
Similar colors
#2b2e26Marshland#1e231cUnderworld#2b322dTerminal Black#17240bMidnight Pines#262926Bitter Liquorice#112211Nightmare#353935Onyx#293432Aztec
Questions
- What color is #272D1F?
- #272D1F 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 #272D1F?
- The RGB value is 39, 45, 31: 39 red, 45 green and 31 blue on a 0 to 255 scale.
- What is the complementary color of #272D1F?
- The complementary color is #251F2D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #272D1F?
- White text. Black text has a contrast ratio of 1.48:1 and white text 14.18:1. WCAG asks for at least 4.5:1 for normal text.