#646840 color
The hex color #646840 is a dark, grayish yellow.
In the RGB color model it is made of 39.2% red, 40.8% green and 25.1% blue (100, 104, 64).
Its hue angle is 66°, with 24% saturation and 33% lightness. For print, the CMYK equivalent is 4% cyan, 0% magenta, 38% yellow and 59% black.
The closest named color is Bancha (#666A47), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 5.84:1).
#646840 color codes
| HEX | #646840 | |
|---|---|---|
| RGB | rgb(100, 104, 64) | |
| RGB percent | rgb(39.2%, 40.8%, 25.1%) | |
| HSL | hsl(66, 24%, 33%) | |
| HSV / HSB | hsv(66, 38%, 41%) | |
| CMYK | cmyk(4%, 0%, 38%, 59%) | |
| CIE LAB | lab(42.73, -8.53, 22.04) | |
| CIE LCH | lch(42.73, 23.63, 111.17) | |
| CIE XYZ | xyz(11.131, 12.98, 6.769) | |
| Decimal | 6580288 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #646840, 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 #646840 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.6:1 | Fail | Fail | Pass |
| Sample text | 5.84:1 | Pass | Fail | Pass |
| #646840 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.84:1 | Pass | Fail | Pass |
| Sample text | 3.6:1 | Fail | Fail | Pass |
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 #646840 looks to people with the most common types of color vision deficiency.
#6e643dProtanopia
no red cones#6d6542Deuteranopia
no green cones#69645eTritanopia
no blue cones#656565Achromatopsia
no color vision
CSS examples
.background { background-color: #646840; }
.text { color: #646840; }
.border { border: 2px solid #646840; }
.transparent { background-color: rgb(100 104 64 / 50%); }
.gradient { background: linear-gradient(to right, #646840, #506840); }
Similar colors
#666a47Bancha#696845Eat Your Greens#69673aJungle Civilization#6b6d4eHerbal Whispers#6e6a44Beat Around the Bush#5f674bMonstera#585d40Cypress#616c51Hinterland
Closest common color name: Dark Olive Green.
Questions
- What color is #646840?
- #646840 is a dark, grayish yellow, closest to the named color Bancha. It belongs to the yellow family of colors.
- What is the RGB value of #646840?
- The RGB value is 100, 104, 64: 100 red, 104 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #646840?
- The complementary color is #444068, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #646840?
- White text. Black text has a contrast ratio of 3.6:1 and white text 5.84:1. WCAG asks for at least 4.5:1 for normal text.