#272F1B color
The hex color #272F1B is a very dark, desaturated yellow-green.
In the RGB color model it is made of 15.3% red, 18.4% green and 10.6% blue (39, 47, 27).
Its hue angle is 84°, with 27% saturation and 15% lightness. For print, the CMYK equivalent is 17% cyan, 0% magenta, 43% yellow and 82% black.
The closest named color is Midnight Pines (#17240B), a difference of 4.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.92:1).
#272F1B color codes
| HEX | #272F1B | |
|---|---|---|
| RGB | rgb(39, 47, 27) | |
| RGB percent | rgb(15.3%, 18.4%, 10.6%) | |
| HSL | hsl(84, 27%, 15%) | |
| HSV / HSB | hsv(84, 43%, 18%) | |
| CMYK | cmyk(17%, 0%, 43%, 82%) | |
| CIE LAB | lab(18.11, -7.84, 11.75) | |
| CIE LCH | lch(18.11, 14.12, 123.73) | |
| CIE XYZ | xyz(2.051, 2.543, 1.42) | |
| Decimal | 2567963 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #272F1B, 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 #272F1B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.51:1 | Fail | Fail | Fail |
| Sample text | 13.92:1 | Pass | Pass | Pass |
| #272F1B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.92:1 | Pass | Pass | Pass |
| Sample text | 1.51: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 #272F1B looks to people with the most common types of color vision deficiency.
#312d1aProtanopia
no red cones#302c1cDeuteranopia
no green cones#282d2aTritanopia
no blue cones#2c2c2cAchromatopsia
no color vision
CSS examples
.background { background-color: #272f1b; }
.text { color: #272f1b; }
.border { border: 2px solid #272f1b; }
.transparent { background-color: rgb(39 47 27 / 50%); }
.gradient { background: linear-gradient(to right, #272f1b, #1d2f1b); }
Similar colors
#17240bMidnight Pines#223311Darkest Forest#172808Lindworm Green#112211Nightmare#2b2e26Marshland#1e231cUnderworld#2b322dTerminal Black#36482fPalm Leaf
Closest common color name: Onyx.
Questions
- What color is #272F1B?
- #272F1B is a very dark, desaturated yellow-green, closest to the named color Midnight Pines. It belongs to the green family of colors.
- What is the RGB value of #272F1B?
- The RGB value is 39, 47, 27: 39 red, 47 green and 27 blue on a 0 to 255 scale.
- What is the complementary color of #272F1B?
- The complementary color is #231B2F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #272F1B?
- White text. Black text has a contrast ratio of 1.51:1 and white text 13.92:1. WCAG asks for at least 4.5:1 for normal text.