#272D1B color
The hex color #272D1B is a very dark, desaturated yellow-green.
In the RGB color model it is made of 15.3% red, 17.6% green and 10.6% blue (39, 45, 27).
Its hue angle is 80°, with 25% saturation and 14% lightness. For print, the CMYK equivalent is 13% cyan, 0% magenta, 40% yellow and 82% black.
The closest named color is Midnight Pines (#17240B), a difference of 5.4 ΔE.
White text is the more readable choice on this background (contrast 14.21:1).
#272D1B color codes
| HEX | #272D1B | |
|---|---|---|
| RGB | rgb(39, 45, 27) | |
| RGB percent | rgb(15.3%, 17.6%, 10.6%) | |
| HSL | hsl(80, 25%, 14%) | |
| HSV / HSB | hsv(80, 40%, 18%) | |
| CMYK | cmyk(13%, 0%, 40%, 82%) | |
| CIE LAB | lab(17.4, -6.56, 10.81) | |
| CIE LCH | lch(17.4, 12.64, 121.25) | |
| CIE XYZ | xyz(1.973, 2.387, 1.394) | |
| Decimal | 2567451 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #272D1B, 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 #272D1B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.48:1 | Fail | Fail | Fail |
| Sample text | 14.21:1 | Pass | Pass | Pass |
| #272D1B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.21: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 #272D1B looks to people with the most common types of color vision deficiency.
#2f2b1aProtanopia
no red cones#2e2b1cDeuteranopia
no green cones#282b28Tritanopia
no blue cones#2b2b2bAchromatopsia
no color vision
CSS examples
.background { background-color: #272d1b; }
.text { color: #272d1b; }
.border { border: 2px solid #272d1b; }
.transparent { background-color: rgb(39 45 27 / 50%); }
.gradient { background: linear-gradient(to right, #272d1b, #1e2d1b); }
Similar colors
#17240bMidnight Pines#2b2e26Marshland#1e231cUnderworld#112211Nightmare#172808Lindworm Green#2b322dTerminal Black#223311Darkest Forest#262926Bitter Liquorice
Closest common color name: Onyx.
Questions
- What color is #272D1B?
- #272D1B is a very dark, desaturated yellow-green, closest to the named color Midnight Pines. It belongs to the gray family of colors.
- What is the RGB value of #272D1B?
- The RGB value is 39, 45, 27: 39 red, 45 green and 27 blue on a 0 to 255 scale.
- What is the complementary color of #272D1B?
- The complementary color is #211B2D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #272D1B?
- White text. Black text has a contrast ratio of 1.48:1 and white text 14.21:1. WCAG asks for at least 4.5:1 for normal text.