#402718 color
The hex color #402718 is a very dark, desaturated orange.
In the RGB color model it is made of 25.1% red, 15.3% green and 9.4% blue (64, 39, 24).
Its hue angle is 23°, with 45% saturation and 17% lightness. For print, the CMYK equivalent is 0% cyan, 39% magenta, 63% yellow and 75% black.
The closest named color is Close but No Cigar (#361D0A), a difference of 3.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.8:1).
#402718 color codes
| HEX | #402718 | |
|---|---|---|
| RGB | rgb(64, 39, 24) | |
| RGB percent | rgb(25.1%, 15.3%, 9.4%) | |
| HSL | hsl(23, 45%, 17%) | |
| HSV / HSB | hsv(23, 63%, 25%) | |
| CMYK | cmyk(0%, 39%, 63%, 75%) | |
| CIE LAB | lab(18.4, 9.84, 14.69) | |
| CIE LCH | lch(18.4, 17.68, 56.18) | |
| CIE XYZ | xyz(3.005, 2.607, 1.209) | |
| Decimal | 4204312 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #402718, 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 #402718 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.52:1 | Fail | Fail | Fail |
| Sample text | 13.8:1 | Pass | Pass | Pass |
| #402718 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.8: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 #402718 looks to people with the most common types of color vision deficiency.
#2e2a17Protanopia
no red cones#342f18Deuteranopia
no green cones#462223Tritanopia
no blue cones#2d2d2dAchromatopsia
no color vision
CSS examples
.background { background-color: #402718; }
.text { color: #402718; }
.border { border: 2px solid #402718; }
.transparent { background-color: rgb(64 39 24 / 50%); }
.gradient { background: linear-gradient(to right, #402718, #403b18); }
Similar colors
#361d0aClose but No Cigar#412010Délicieux au Chocolat#3c2005Medium Roast#3e2b23English Walnut#452207Chocolate Castle#4e2a20Couch#3e2723Ethereal Espresso#4b3621Café Noir
Closest common color name: Espresso.
Questions
- What color is #402718?
- #402718 is a very dark, desaturated orange, closest to the named color Close but No Cigar. It belongs to the brown family of colors.
- What is the RGB value of #402718?
- The RGB value is 64, 39, 24: 64 red, 39 green and 24 blue on a 0 to 255 scale.
- What is the complementary color of #402718?
- The complementary color is #183140, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #402718?
- White text. Black text has a contrast ratio of 1.52:1 and white text 13.8:1. WCAG asks for at least 4.5:1 for normal text.