#252711 color
The hex color #252711 is a very dark, desaturated yellow.
In the RGB color model it is made of 14.5% red, 15.3% green and 6.7% blue (37, 39, 17).
Its hue angle is 65°, with 39% saturation and 11% lightness. For print, the CMYK equivalent is 5% cyan, 0% magenta, 56% yellow and 85% black.
The closest named color is Midnight Pines (#17240B), a difference of 6 ΔE.
White text is the more readable choice on this background (contrast 15.25:1).
#252711 color codes
| HEX | #252711 | |
|---|---|---|
| RGB | rgb(37, 39, 17) | |
| RGB percent | rgb(14.5%, 15.3%, 6.7%) | |
| HSL | hsl(65, 39%, 11%) | |
| HSV / HSB | hsv(65, 56%, 15%) | |
| CMYK | cmyk(5%, 0%, 56%, 85%) | |
| CIE LAB | lab(14.87, -5.2, 14.05) | |
| CIE LCH | lch(14.87, 14.98, 110.3) | |
| CIE XYZ | xyz(1.59, 1.885, 0.81) | |
| Decimal | 2434833 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #252711, 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 #252711 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.38:1 | Fail | Fail | Fail |
| Sample text | 15.25:1 | Pass | Pass | Pass |
| #252711 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.25:1 | Pass | Pass | Pass |
| Sample text | 1.38: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 #252711 looks to people with the most common types of color vision deficiency.
#2a250fProtanopia
no red cones#2a2612Deuteranopia
no green cones#272522Tritanopia
no blue cones#252525Achromatopsia
no color vision
CSS examples
.background { background-color: #252711; }
.text { color: #252711; }
.border { border: 2px solid #252711; }
.transparent { background-color: rgb(37 39 17 / 50%); }
.gradient { background: linear-gradient(to right, #252711, #1a2711); }
Similar colors
#17240bMidnight Pines#2b2e26Marshland#1e231cUnderworld#172808Lindworm Green#223311Darkest Forest#112211Nightmare#333300Wasabi Nori#091101Memorial Black
Closest common color name: Onyx.
Questions
- What color is #252711?
- #252711 is a very dark, desaturated yellow, closest to the named color Midnight Pines. It belongs to the yellow family of colors.
- What is the RGB value of #252711?
- The RGB value is 37, 39, 17: 37 red, 39 green and 17 blue on a 0 to 255 scale.
- What is the complementary color of #252711?
- The complementary color is #131127, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #252711?
- White text. Black text has a contrast ratio of 1.38:1 and white text 15.25:1. WCAG asks for at least 4.5:1 for normal text.