#42452B Color Information

Hex color code: #42452B

The hex color #42452B is a deep yellow with RGB values of (66, 69, 43) and HSL of (67°, 23%, 22%). It is commonly used in modern UI design.

Try:
Color NameDark Slate Gray
HEX
#42452B
RGB
66, 69, 43
HSL
67°, 23%, 22%
CMYK
4%, 0%, 38%, 73%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #42452B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

66, 69, 43

Red: 66 / Green: 69 / Blue: 43

HSL

67°, 23%, 22%

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

CMYK

4%, 0%, 38%, 73%

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

What color is #42452B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #42452B to RGB:

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

HEX to HSL

Convert #42452B to HSL:

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

HEX to CMYK

Convert #42452B to CMYK:

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

Color Meaning and Usage

A dark yellow tone, #42452B has RGB (66, 69, 43) and HSL (67°, 23%, 22%). Known for evoking nature and harmony, this green hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #42452B is #2E2B45, creating high-contrast pairings. For softer combinations, try analogous colors like #453B2B.

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

Contrast with #42452B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #42452B?

#42452B is a dark yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #42452B?

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

How to use #42452B in CSS?

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

What colors go well with #42452B?

#2E2B45 (complementary), #453B2B (analogous), and #15160E (lighter shade) work well with #42452B.