#42422E Color Information

Hex color code: #42422E

The hex color #42422E is a rich yellow with RGB values of (66, 66, 46) and HSL of (60°, 18%, 22%). It is popular in mobile app design.

Try:
Color NameDark Slate Gray
HEX
#42422E
RGB
66, 66, 46
HSL
60°, 18%, 22%
CMYK
0%, 0%, 30%, 74%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #42422E; 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 #42422E; background-color: #42422E15; }

Alert / Toast

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

Link / Accent

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

a { color: #42422E; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #42422E in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

66, 66, 46

Red: 66 / Green: 66 / Blue: 46

HSL

60°, 18%, 22%

Hue: 60° / Saturation: 18% / Lightness: 22%

CMYK

0%, 0%, 30%, 74%

Cyan: 0% / Magenta: 0% / Yellow: 30% / Key: 74%

What color is #42422E?

#42422E is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #42422E to RGB:

rgb(66, 66, 46)HEX to RGB Converter →

HEX to HSL

Convert #42422E to HSL:

hsl(60, 18%, 22%)RGB to HSL Converter →

HEX to CMYK

Convert #42422E to CMYK:

cmyk(0%, 0%, 30%, 74%)Color Converter →

Color Meaning and Usage

A dark yellow tone, #42422E has RGB (66, 66, 46) and HSL (60°, 18%, 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 #42422E is #2E2E42, creating high-contrast pairings. For softer combinations, try analogous colors like #42382E.

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

Contrast with #42422E

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #42422E?

#42422E is a dark yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #42422E?

#42422E in RGB is (66, 66, 46) - 66 red, 66 green, and 46 blue.

How to use #42422E in CSS?

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

What colors go well with #42422E?

#2E2E42 (complementary), #42382E (analogous), and #15150F (lighter shade) work well with #42422E.