#402E0F color
The hex color #402E0F is a very dark, moderate orange.
In the RGB color model it is made of 25.1% red, 18% green and 5.9% blue (64, 46, 15).
Its hue angle is 38°, with 62% saturation and 15% lightness. For print, the CMYK equivalent is 0% cyan, 28% magenta, 77% yellow and 75% black.
The closest named color is Secret Passage (#372A05), a difference of 3.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13:1).
#402E0F color codes
| HEX | #402E0F | |
|---|---|---|
| RGB | rgb(64, 46, 15) | |
| RGB percent | rgb(25.1%, 18%, 5.9%) | |
| HSL | hsl(38, 62%, 15%) | |
| HSV / HSB | hsv(38, 77%, 25%) | |
| CMYK | cmyk(0%, 28%, 77%, 75%) | |
| CIE LAB | lab(20.36, 4.37, 22.53) | |
| CIE LCH | lch(20.36, 22.95, 79.03) | |
| CIE XYZ | xyz(3.178, 3.079, 0.879) | |
| Decimal | 4206095 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #402E0F, 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 #402E0F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.62:1 | Fail | Fail | Fail |
| Sample text | 13:1 | Pass | Pass | Pass |
| #402E0F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13:1 | Pass | Pass | Pass |
| Sample text | 1.62: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 #402E0F looks to people with the most common types of color vision deficiency.
#352e0cProtanopia
no red cones#393310Deuteranopia
no green cones#462927Tritanopia
no blue cones#313131Achromatopsia
no color vision
CSS examples
.background { background-color: #402e0f; }
.text { color: #402e0f; }
.border { border: 2px solid #402e0f; }
.transparent { background-color: rgb(64 46 15 / 50%); }
.gradient { background: linear-gradient(to right, #402e0f, #39400f); }
Similar colors
#372a05Secret Passage#4b3621Café Noir#4e3e1fAvocado Stone#563c0dPineapple#553311Moelleux au Chocolat#473e23Madras#3c2005Medium Roast#3c2f23Cola
Closest common color name: Taupe.
Questions
- What color is #402E0F?
- #402E0F is a very dark, moderate orange, closest to the named color Secret Passage. It belongs to the brown family of colors.
- What is the RGB value of #402E0F?
- The RGB value is 64, 46, 15: 64 red, 46 green and 15 blue on a 0 to 255 scale.
- What is the complementary color of #402E0F?
- The complementary color is #0F2140, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #402E0F?
- White text. Black text has a contrast ratio of 1.62:1 and white text 13:1. WCAG asks for at least 4.5:1 for normal text.