#646840 color

#646840 rgb(100, 104, 64)
Shades of yellow

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
RGBrgb(100, 104, 64)
RGB percentrgb(39.2%, 40.8%, 25.1%)
HSLhsl(66, 24%, 33%)
HSV / HSBhsv(66, 38%, 41%)
CMYKcmyk(4%, 0%, 38%, 59%)
CIE LABlab(42.73, -8.53, 22.04)
CIE LCHlch(42.73, 23.63, 111.17)
CIE XYZxyz(11.131, 12.98, 6.769)
Decimal6580288
Short hexNone (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 #646840RatioAAAAAAA large
Sample text3.6:1FailFailPass
Sample text5.84:1PassFailPass
#646840 as text onRatioAAAAAAA large
Sample text5.84:1PassFailPass
Sample text3.6:1FailFailPass

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.

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); }
Background
Text color
Border

Similar colors

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.