#646840 Color Information

Hex color code: #646840

A subtle yellow shade, #646840 appears as (100, 104, 64) in RGB and (66°, 24%, 33%) in HSL. It is often used for branding and logos.

Try:
Color NameDark Olive Green
HEX
#646840
RGB
100, 104, 64
HSL
66°, 24%, 33%
CMYK
4%, 0%, 38%, 59%

Shades

CSS Usage
color: #646840;
background-color: #646840;
border-color: #646840;
box-shadow: 0 0 10px #646840;
border: 2px solid #646840;
Tailwind Usage
bg-[#646840]
text-[#646840]
border-[#646840]
shadow-[0_0_10px_646840]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #646840, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #646840; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #646840; color: #FFFFFF; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #646840; background-color: #64684015; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #64684020; border-left: 4px solid #646840; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #646840; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #646840 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

100, 104, 64

Red: 100 / Green: 104 / Blue: 64

HSL

66°, 24%, 33%

Hue: 66° / Saturation: 24% / Lightness: 33%

CMYK

4%, 0%, 38%, 59%

Cyan: 4% / Magenta: 0% / Yellow: 38% / Key: 59%

What color is #646840?

#646840 is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #646840 to RGB:

rgb(100, 104, 64)HEX to RGB Converter →

HEX to HSL

Convert #646840 to HSL:

hsl(66, 24%, 33%)RGB to HSL Converter →

HEX to CMYK

Convert #646840 to CMYK:

cmyk(4%, 0%, 38%, 59%)Color Converter →

Color Meaning and Usage

#646840 is a soft yellow color with RGB values of 100, 104, 64 and HSL of 66°, 24%, 33%. This green hue evokes nature and harmony, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #646840 is #444068, creating high-contrast pairings. For softer combinations, try analogous colors like #685840.

Use #646840 in CSS: color: #646840 or background-color: #646840. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #646840

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 3.60:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #646840?

#646840 is a soft yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #646840?

#646840 in RGB is (100, 104, 64) - 100 red, 104 green, and 64 blue.

How to use #646840 in CSS?

Use #646840 directly in your CSS properties like color or background-color.

What colors go well with #646840?

#444068 (complementary), #685840 (analogous), and #373923 (lighter shade) work well with #646840.