#645F40 Color Information

Hex color code: #645F40

#645F40 is a pastel yellow color. In RGB it is (100, 95, 64), and in HSL it is (52°, 22%, 32%). It is commonly used in modern UI design.

Try:
Color NameDark Olive Green
HEX
#645F40
RGB
100, 95, 64
HSL
52°, 22%, 32%
CMYK
0%, 5%, 36%, 61%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #645F40; 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 #645F40; background-color: #645F4015; }

Alert / Toast

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

Link / Accent

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

a { color: #645F40; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #645F40 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

100, 95, 64

Red: 100 / Green: 95 / Blue: 64

HSL

52°, 22%, 32%

Hue: 52° / Saturation: 22% / Lightness: 32%

CMYK

0%, 5%, 36%, 61%

Cyan: 0% / Magenta: 5% / Yellow: 36% / Key: 61%

What color is #645F40?

#645F40 is a orange-yellow hue associated with optimism and creativity.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #645F40 to RGB:

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

HEX to HSL

Convert #645F40 to HSL:

hsl(52, 22%, 32%)RGB to HSL Converter →

HEX to CMYK

Convert #645F40 to CMYK:

cmyk(0%, 5%, 36%, 61%)Color Converter →

Color Meaning and Usage

A pastel yellow tone, #645F40 has RGB (100, 95, 64) and HSL (52°, 22%, 32%). Known for evoking optimism and creativity, this orange-yellow hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #645F40 is #404464, creating high-contrast pairings. For softer combinations, try analogous colors like #644D40.

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

Contrast with #645F40

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #645F40?

#645F40 is a pastel yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #645F40?

#645F40 in RGB is (100, 95, 64) - 100 red, 95 green, and 64 blue.

How to use #645F40 in CSS?

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

What colors go well with #645F40?

#404464 (complementary), #644D40 (analogous), and #353222 (lighter shade) work well with #645F40.