#40270F color
The hex color #40270F is a very dark, moderate orange.
In the RGB color model it is made of 25.1% red, 15.3% green and 5.9% blue (64, 39, 15).
Its hue angle is 29°, with 62% saturation and 15% lightness. For print, the CMYK equivalent is 0% cyan, 39% magenta, 77% yellow and 75% black.
The closest named color is Medium Roast (#3C2005), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.86:1).
#40270F color codes
| HEX | #40270F | |
|---|---|---|
| RGB | rgb(64, 39, 15) | |
| RGB percent | rgb(25.1%, 15.3%, 5.9%) | |
| HSL | hsl(29, 62%, 15%) | |
| HSV / HSB | hsv(29, 77%, 25%) | |
| CMYK | cmyk(0%, 39%, 77%, 75%) | |
| CIE LAB | lab(18.26, 9.05, 20.11) | |
| CIE LCH | lch(18.26, 22.05, 65.78) | |
| CIE XYZ | xyz(2.926, 2.576, 0.795) | |
| Decimal | 4204303 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #40270F, 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 #40270F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.52:1 | Fail | Fail | Fail |
| Sample text | 13.86:1 | Pass | Pass | Pass |
| #40270F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.86:1 | Pass | Pass | Pass |
| Sample text | 1.52: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 #40270F looks to people with the most common types of color vision deficiency.
#2f290dProtanopia
no red cones#352f0fDeuteranopia
no green cones#462122Tritanopia
no blue cones#2d2d2dAchromatopsia
no color vision
CSS examples
.background { background-color: #40270f; }
.text { color: #40270f; }
.border { border: 2px solid #40270f; }
.transparent { background-color: rgb(64 39 15 / 50%); }
.gradient { background: linear-gradient(to right, #40270f, #40400f); }
Similar colors
#3c2005Medium Roast#452207Chocolate Castle#361d0aClose but No Cigar#4b3621Café Noir#412010Délicieux au Chocolat#553311Moelleux au Chocolat#3c2f23Cola#3e2b23English Walnut
Closest common color name: Taupe.
Questions
- What color is #40270F?
- #40270F is a very dark, moderate orange, closest to the named color Medium Roast. It belongs to the brown family of colors.
- What is the RGB value of #40270F?
- The RGB value is 64, 39, 15: 64 red, 39 green and 15 blue on a 0 to 255 scale.
- What is the complementary color of #40270F?
- The complementary color is #0F2840, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #40270F?
- White text. Black text has a contrast ratio of 1.52:1 and white text 13.86:1. WCAG asks for at least 4.5:1 for normal text.