#272A16 color
The hex color #272A16 is a very dark, desaturated yellow.
In the RGB color model it is made of 15.3% red, 16.5% green and 8.6% blue (39, 42, 22).
Its hue angle is 69°, with 31% saturation and 13% lightness. For print, the CMYK equivalent is 7% cyan, 0% magenta, 48% yellow and 84% black.
The closest named color is Midnight Pines (#17240B), a difference of 5.9 ΔE.
White text is the more readable choice on this background (contrast 14.7:1).
#272A16 color codes
| HEX | #272A16 | |
|---|---|---|
| RGB | rgb(39, 42, 22) | |
| RGB percent | rgb(15.3%, 16.5%, 8.6%) | |
| HSL | hsl(69, 31%, 13%) | |
| HSV / HSB | hsv(69, 48%, 16%) | |
| CMYK | cmyk(7%, 0%, 48%, 84%) | |
| CIE LAB | lab(16.23, -5.42, 12.63) | |
| CIE LCH | lch(16.23, 13.74, 113.23) | |
| CIE XYZ | xyz(1.809, 2.145, 1.078) | |
| Decimal | 2566678 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #272A16, 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 #272A16 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.43:1 | Fail | Fail | Fail |
| Sample text | 14.7:1 | Pass | Pass | Pass |
| #272A16 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.7:1 | Pass | Pass | Pass |
| Sample text | 1.43: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 #272A16 looks to people with the most common types of color vision deficiency.
#2d2815Protanopia
no red cones#2c2817Deuteranopia
no green cones#292825Tritanopia
no blue cones#282828Achromatopsia
no color vision
CSS examples
.background { background-color: #272a16; }
.text { color: #272a16; }
.border { border: 2px solid #272a16; }
.transparent { background-color: rgb(39 42 22 / 50%); }
.gradient { background: linear-gradient(to right, #272a16, #1d2a16); }
Similar colors
#17240bMidnight Pines#2b2e26Marshland#1e231cUnderworld#172808Lindworm Green#223311Darkest Forest#112211Nightmare#2b322dTerminal Black#262926Bitter Liquorice
Closest common color name: Onyx.
Questions
- What color is #272A16?
- #272A16 is a very dark, desaturated yellow, closest to the named color Midnight Pines. It belongs to the green family of colors.
- What is the RGB value of #272A16?
- The RGB value is 39, 42, 22: 39 red, 42 green and 22 blue on a 0 to 255 scale.
- What is the complementary color of #272A16?
- The complementary color is #19162A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #272A16?
- White text. Black text has a contrast ratio of 1.43:1 and white text 14.7:1. WCAG asks for at least 4.5:1 for normal text.