#042F2E

#042F2E

Comprehensive color parameter breakdown, RGB/CMYK conversion, WCAG accessibility metrics, and harmonious palette pairings.

HEX

#042F2E

RGB

4, 47, 46

HSL

179°, 84%, 10%

CMYK

91%, 0%, 2%, 82%

OKLCH

0.283, 0.252, 179°

Tailwind Class

bg-[#042f2e]

Live UI Component Preview

Preview how #042F2E renders across real buttons, badges, cards, and hero elements.

CTA Button
Pill Badge
Featured Category
Active Card Border

Highlighted interactive container with #042F2E accent.

Tints of #042F2E (Lighter Steps)

Created by progressively blending #042F2E with pure white (#FFFFFF). Click any color to explore its dedicated color theory, or click copy to copy the hex code.

Shades of #042F2E (Darker Steps)

Created by progressively mixing #042F2E with pure black (#000000). Click any shade to inspect its full color profile, or copy the hex code directly.

Color Harmonies & Pairings

Scientifically calculated color schemes derived from the 360° color wheel relative to #042F2E. Click any swatch to view its complete color profile.

Complementary (180° Opposite)

High Impact & Contrast

Directly across on the color wheel. Maximum visual tension, ideal for Call-to-Action (CTA) buttons and badges.

#042F2E
#2F0405

Analogous (±30° Neighbors)

Harmonious & Gentle

Adjacent hues on the color wheel. Natural and serene, perfect for gradients, backgrounds, and art themes.

Triadic (120° Equilateral Triangle)

Vibrant & Balanced

Three equidistant hues around the wheel. Rich in color balance, ideal for multi-category dashboards and charts.

Tetradic (90° Rectangle)

Rich 4-Color Palette

Two complementary pairs. Offers rich variety when one color dominates and others serve as accents.

WCAG 2.1 Accessibility Contrast Checker

Official Web Content Accessibility Guidelines compliance ratings for #042F2E.

White Text (#FFFFFF)
Contrast Ratio:14.46 : 1
WCAG AA (≥ 4.5)
WCAG AAA (≥ 7.0)
Black Text (#000000)
Contrast Ratio:1.45 : 1
WCAG AA (≥ 4.5)
WCAG AAA (≥ 7.0)

Explore Related Colors & Combinations

Discover complementary and analogous colors paired with #042F2E.

Frequently Asked Questions about #042F2E

What is the RGB value of #042F2E?

The RGB value of #042F2E is rgb(4, 47, 46). It is composed of 4 red, 47 green, and 46 blue light channels.

What is the CMYK equivalent of #042F2E for printing?

For four-color process printing (offset and digital), #042F2E translates to Cyan 91%, Magenta 0%, Yellow 2%, and Key (Black) 82%.

What colors harmonize best with #042F2E?

The direct 180° complementary color is #2F0405. For softer and serene designs, its analogous neighbors are #042F19 and #041A2F.

How do I use #042F2E in CSS and Tailwind?

In standard CSS, use color: #042F2E; or background-color: #042F2E;. In Tailwind CSS, use arbitrary value syntax: bg-[#042f2e] or text-[#042f2e].