#42412F Color Information

Hex color code: #42412F

The hex color #42412F is a dramatic yellow with RGB values of (66, 65, 47) and HSL of (57°, 17%, 22%). It is typically applied in digital products.

Try:
Color NameDark Slate Gray
HEX
#42412F
RGB
66, 65, 47
HSL
57°, 17%, 22%
CMYK
0%, 2%, 29%, 74%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #42412F; 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 #42412F; background-color: #42412F15; }

Alert / Toast

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

Link / Accent

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

a { color: #42412F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #42412F in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

66, 65, 47

Red: 66 / Green: 65 / Blue: 47

HSL

57°, 17%, 22%

Hue: 57° / Saturation: 17% / Lightness: 22%

CMYK

0%, 2%, 29%, 74%

Cyan: 0% / Magenta: 2% / Yellow: 29% / Key: 74%

What color is #42412F?

#42412F is a orange-yellow hue associated with optimism and creativity.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #42412F to RGB:

rgb(66, 65, 47)HEX to RGB Converter →

HEX to HSL

Convert #42412F to HSL:

hsl(57, 17%, 22%)RGB to HSL Converter →

HEX to CMYK

Convert #42412F to CMYK:

cmyk(0%, 2%, 29%, 74%)Color Converter →

Color Meaning and Usage

#42412F is a dramatic yellow color with RGB values of 66, 65, 47 and HSL of 57°, 17%, 22%. This orange-yellow hue evokes optimism and creativity, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #42412F is #2F3042, creating high-contrast pairings. For softer combinations, try analogous colors like #42372F.

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

Contrast with #42412F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #42412F?

#42412F is a dramatic yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #42412F?

#42412F in RGB is (66, 65, 47) - 66 red, 65 green, and 47 blue.

How to use #42412F in CSS?

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

What colors go well with #42412F?

#2F3042 (complementary), #42372F (analogous), and #15150F (lighter shade) work well with #42412F.