#403308 Color Information

Hex color code: #403308

The hex color #403308 is a dramatic yellow with RGB values of (64, 51, 8) and HSL of (46°, 78%, 14%). It is typically applied in digital products.

Try:
Color NameDark Olive Green
HEX
#403308
RGB
64, 51, 8
HSL
46°, 78%, 14%
CMYK
0%, 20%, 88%, 75%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #403308; 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 #403308; background-color: #40330815; }

Alert / Toast

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

Link / Accent

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

a { color: #403308; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 51, 8

Red: 64 / Green: 51 / Blue: 8

HSL

46°, 78%, 14%

Hue: 46° / Saturation: 78% / Lightness: 14%

CMYK

0%, 20%, 88%, 75%

Cyan: 0% / Magenta: 20% / Yellow: 88% / Key: 75%

What color is #403308?

#403308 is a very dark shade associated with sophistication and elegance.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #403308 to RGB:

rgb(64, 51, 8)HEX to RGB Converter →

HEX to HSL

Convert #403308 to HSL:

hsl(46, 78%, 14%)RGB to HSL Converter →

HEX to CMYK

Convert #403308 to CMYK:

cmyk(0%, 20%, 88%, 75%)Color Converter →

Color Meaning and Usage

A dark yellow tone, #403308 has RGB (64, 51, 8) and HSL (46°, 78%, 14%). Known for evoking sophistication and elegance, this very dark shade is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #403308 is #081540, creating high-contrast pairings. For softer combinations, try analogous colors like #401708.

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

Contrast with #403308

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #403308?

#403308 is a dark yellow color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #403308?

#403308 in RGB is (64, 51, 8) - 64 red, 51 green, and 8 blue.

How to use #403308 in CSS?

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

What colors go well with #403308?

#081540 (complementary), #401708 (analogous), and #000000 (lighter shade) work well with #403308.