#645E40 color
The hex color #645E40 is a dark, grayish yellow.
In the RGB color model it is made of 39.2% red, 36.9% green and 25.1% blue (100, 94, 64).
Its hue angle is 50°, with 22% saturation and 32% lightness. For print, the CMYK equivalent is 0% cyan, 6% magenta, 36% yellow and 61% black.
The closest named color is Olive Bark (#5F5537), a difference of 3.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.53:1).
#645E40 color codes
| HEX | #645E40 | |
|---|---|---|
| RGB | rgb(100, 94, 64) | |
| RGB percent | rgb(39.2%, 36.9%, 25.1%) | |
| HSL | hsl(50, 22%, 32%) | |
| HSV / HSB | hsv(50, 36%, 39%) | |
| CMYK | cmyk(0%, 6%, 36%, 61%) | |
| CIE LAB | lab(39.72, -2.71, 18.1) | |
| CIE LCH | lch(39.72, 18.3, 98.51) | |
| CIE XYZ | xyz(10.184, 11.085, 6.453) | |
| Decimal | 6577728 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #645E40, 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 #645E40 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.22:1 | Fail | Fail | Pass |
| Sample text | 6.53:1 | Pass | Fail | Pass |
| #645E40 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.53:1 | Pass | Fail | Pass |
| Sample text | 3.22: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 #645E40 looks to people with the most common types of color vision deficiency.
#645c3eProtanopia
no red cones#655f41Deuteranopia
no green cones#695a56Tritanopia
no blue cones#5e5e5eAchromatopsia
no color vision
CSS examples
.background { background-color: #645e40; }
.text { color: #645e40; }
.border { border: 2px solid #645e40; }
.transparent { background-color: rgb(100 94 64 / 50%); }
.gradient { background: linear-gradient(to right, #645e40, #586440); }
Similar colors
#5f5537Olive Bark#6b6047Ochicha Latte#696845Eat Your Greens#67614fIvy Topiary#6e6a44Beat Around the Bush#5e582bReptile Revenge#595d45Tree of Life#69673aJungle Civilization
Closest common color name: Ebony.
Questions
- What color is #645E40?
- #645E40 is a dark, grayish yellow, closest to the named color Olive Bark. It belongs to the yellow family of colors.
- What is the RGB value of #645E40?
- The RGB value is 100, 94, 64: 100 red, 94 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #645E40?
- The complementary color is #404664, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #645E40?
- White text. Black text has a contrast ratio of 3.22:1 and white text 6.53:1. WCAG asks for at least 4.5:1 for normal text.