#25270A color
The hex color #25270A is a very dark, moderate yellow.
In the RGB color model it is made of 14.5% red, 15.3% green and 3.9% blue (37, 39, 10).
Its hue angle is 64°, with 59% saturation and 10% lightness. For print, the CMYK equivalent is 5% cyan, 0% magenta, 74% yellow and 85% black.
The closest named color is Midnight Pines (#17240B), a difference of 6.1 ΔE.
White text is the more readable choice on this background (contrast 15.29:1).
#25270A color codes
| HEX | #25270A | |
|---|---|---|
| RGB | rgb(37, 39, 10) | |
| RGB percent | rgb(14.5%, 15.3%, 3.9%) | |
| HSL | hsl(64, 59%, 10%) | |
| HSV / HSB | hsv(64, 74%, 15%) | |
| CMYK | cmyk(5%, 0%, 74%, 85%) | |
| CIE LAB | lab(14.77, -6.01, 17.37) | |
| CIE LCH | lch(14.77, 18.38, 109.1) | |
| CIE XYZ | xyz(1.543, 1.866, 0.566) | |
| Decimal | 2434826 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #25270A, 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 #25270A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.37:1 | Fail | Fail | Fail |
| Sample text | 15.29:1 | Pass | Pass | Pass |
| #25270A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.29:1 | Pass | Pass | Pass |
| Sample text | 1.37: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 #25270A looks to people with the most common types of color vision deficiency.
#2a2507Protanopia
no red cones#2a260cDeuteranopia
no green cones#282421Tritanopia
no blue cones#252525Achromatopsia
no color vision
CSS examples
.background { background-color: #25270a; }
.text { color: #25270a; }
.border { border: 2px solid #25270a; }
.transparent { background-color: rgb(37 39 10 / 50%); }
.gradient { background: linear-gradient(to right, #25270a, #16270a); }
Similar colors
#17240bMidnight Pines#333300Wasabi Nori#172808Lindworm Green#223311Darkest Forest#112211Nightmare#2b2e26Marshland#372a05Secret Passage#1e231cUnderworld
Closest common color name: Onyx.
Questions
- What color is #25270A?
- #25270A 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 #25270A?
- The RGB value is 37, 39, 10: 37 red, 39 green and 10 blue on a 0 to 255 scale.
- What is the complementary color of #25270A?
- The complementary color is #0C0A27, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #25270A?
- White text. Black text has a contrast ratio of 1.37:1 and white text 15.29:1. WCAG asks for at least 4.5:1 for normal text.