#40452B Color Information

Hex color code: #40452B

#40452B is a intense yellow color. In RGB it is (64, 69, 43), and in HSL it is (72°, 23%, 22%). It is widely used in graphic design.

Try:
Color NameDark Slate Gray
HEX
#40452B
RGB
64, 69, 43
HSL
72°, 23%, 22%
CMYK
7%, 0%, 38%, 73%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #40452B; 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 #40452B; background-color: #40452B15; }

Alert / Toast

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

Link / Accent

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

a { color: #40452B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #40452B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 69, 43

Red: 64 / Green: 69 / Blue: 43

HSL

72°, 23%, 22%

Hue: 72° / Saturation: 23% / Lightness: 22%

CMYK

7%, 0%, 38%, 73%

Cyan: 7% / Magenta: 0% / Yellow: 38% / Key: 73%

What color is #40452B?

#40452B is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #40452B to RGB:

rgb(64, 69, 43)HEX to RGB Converter →

HEX to HSL

Convert #40452B to HSL:

hsl(72, 23%, 22%)RGB to HSL Converter →

HEX to CMYK

Convert #40452B to CMYK:

cmyk(7%, 0%, 38%, 73%)Color Converter →

Color Meaning and Usage

A deep yellow tone, #40452B has RGB (64, 69, 43) and HSL (72°, 23%, 22%). Known for evoking nature and harmony, this green hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #40452B is #302B45, creating high-contrast pairings. For softer combinations, try analogous colors like #453D2B.

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

Contrast with #40452B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #40452B?

#40452B is a deep yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #40452B?

#40452B in RGB is (64, 69, 43) - 64 red, 69 green, and 43 blue.

How to use #40452B in CSS?

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

What colors go well with #40452B?

#302B45 (complementary), #453D2B (analogous), and #14160E (lighter shade) work well with #40452B.