#252807 color
The hex color #252807 is a very dark, moderate yellow.
In the RGB color model it is made of 14.5% red, 15.7% green and 2.7% blue (37, 40, 7).
Its hue angle is 65°, with 70% saturation and 9% lightness. For print, the CMYK equivalent is 7% cyan, 0% magenta, 83% 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 15.16:1).
#252807 color codes
| HEX | #252807 | |
|---|---|---|
| RGB | rgb(37, 40, 7) | |
| RGB percent | rgb(14.5%, 15.7%, 2.7%) | |
| HSL | hsl(65, 70%, 9%) | |
| HSV / HSB | hsv(65, 83%, 16%) | |
| CMYK | cmyk(7%, 0%, 83%, 84%) | |
| CIE LAB | lab(15.1, -6.96, 19.01) | |
| CIE LCH | lch(15.1, 20.24, 110.11) | |
| CIE XYZ | xyz(1.56, 1.926, 0.491) | |
| Decimal | 2435079 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #252807, 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 #252807 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.39:1 | Fail | Fail | Fail |
| Sample text | 15.16:1 | Pass | Pass | Pass |
| #252807 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.16:1 | Pass | Pass | Pass |
| Sample text | 1.39: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 #252807 looks to people with the most common types of color vision deficiency.
#2c2604Protanopia
no red cones#2b2609Deuteranopia
no green cones#282521Tritanopia
no blue cones#262626Achromatopsia
no color vision
CSS examples
.background { background-color: #252807; }
.text { color: #252807; }
.border { border: 2px solid #252807; }
.transparent { background-color: rgb(37 40 7 / 50%); }
.gradient { background: linear-gradient(to right, #252807, #152807); }
Similar colors
#17240bMidnight Pines#333300Wasabi Nori#172808Lindworm Green#223311Darkest Forest#112211Nightmare#373e02Dark Olive#372a05Secret Passage#2b2e26Marshland
Closest common color name: Onyx.
Questions
- What color is #252807?
- #252807 is a very dark, moderate yellow, closest to the named color Midnight Pines. It belongs to the yellow family of colors.
- What is the RGB value of #252807?
- The RGB value is 37, 40, 7: 37 red, 40 green and 7 blue on a 0 to 255 scale.
- What is the complementary color of #252807?
- The complementary color is #0A0728, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #252807?
- White text. Black text has a contrast ratio of 1.39:1 and white text 15.16:1. WCAG asks for at least 4.5:1 for normal text.